sefidgaran / signalr_client

A Flutter SignalR Client for ASP.NET Core
https://pub.dev/packages/signalr_netcore
MIT License
71 stars 112 forks source link

Allowing invocation arguments to be null #38

Closed chrisdrobison closed 1 year ago

chrisdrobison commented 2 years ago

According to the SignalR spec, they rely on the respective serializers for mapping types. They have a listing of types, but say it is not exhaustive. This change allows for invocation arguments to be a null type. Without this, the client crashes when it tries to cast to Object.