dotnet/aspnetcore

Add possibility to inject json reviver function in Typescript client

オープン

#5,321 opened on 2018/07/26

 (3 件のコメント) (2 件のリアクション) (0 人の担当者)C# (10,653 件のフォーク)batch import
affected-very-fewapi-suggestionarea-signalrenhancementhelp wantedseverity-minor

Repository metrics

Stars
 (37,933 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Currently there is no possibility to customize in any way the behavior of JsonHubProtocol. It could pass a reviver function to the JSON.parse method. If a user could inject such function to the JsonHubProtocol it would be much easier to perform any data transformation (like converting date strings to Date objects).

コントリビューターガイド