dotnet/aspnetcore

Add possibility to inject json reviver function in Typescript client

Open

#5,321 创建于 2018年7月26日

在 GitHub 查看
 (3 评论) (2 反应) (0 负责人)C# (10,653 fork)batch import
affected-very-fewapi-suggestionarea-signalrenhancementhelp wantedseverity-minor

仓库指标

Star
 (37,933 star)
PR 合并指标
 (平均合并 16天 9小时) (30 天内合并 258 个 PR)

描述

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

贡献者指南