dotnet/aspnetcore

Add possibility to inject json reviver function in Typescript client

Open

#5.321 aberto em 26 de jul. de 2018

Ver no GitHub
 (3 comments) (2 reactions) (0 assignees)C# (10.653 forks)batch import
affected-very-fewapi-suggestionarea-signalrenhancementhelp wantedseverity-minor

Métricas do repositório

Stars
 (37.933 stars)
Métricas de merge de PR
 (Mesclagem média 16d 9h) (258 fundiu PRs em 30d)

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

Guia do colaborador