dotnet/aspnetcore
Auf GitHub ansehenAdd possibility to inject json reviver function in Typescript client
Open
#5.321 geöffnet am 26. Juli 2018
affected-very-fewapi-suggestionarea-signalrenhancementhelp wantedseverity-minor
Repository-Metriken
- Stars
- (37.933 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 16T 9h) (258 gemergte PRs in 30 T)
Beschreibung
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).