dotnet/aspnetcore

Add possibility to inject json reviver function in Typescript client

Open

#5 321 ouverte le 26 juil. 2018

Voir sur GitHub
 (3 commentaires) (2 réactions) (0 assignés)C# (10 653 forks)batch import
affected-very-fewapi-suggestionarea-signalrenhancementhelp wantedseverity-minor

Métriques du dépôt

Stars
 (37 933 stars)
Métriques de merge PR
 (Merge moyen 16j 9h) (258 PRs mergées en 30 j)

Description

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

Guide contributeur