dotnet/aspnetcore

Add possibility to inject json reviver function in Typescript client

Open

#5321 aperta il 26 lug 2018

Vedi su GitHub
 (3 commenti) (2 reazioni) (0 assegnatari)C# (10.653 fork)batch import
affected-very-fewapi-suggestionarea-signalrenhancementhelp wantedseverity-minor

Metriche repository

Star
 (37.933 star)
Metriche merge PR
 (Merge medio 16g 9h) (258 PR mergiate in 30 g)

Descrizione

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).

Guida contributor