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

Server trying to call client method with null parameters crashes the client #28

Open noelex opened 2 years ago

noelex commented 2 years ago

The HubConnection will disconnect if my server calls a client method with null parameters. After some digging I found that InvocationMessage does not allow nullable parameters at all. If I change those the definitions of arguments to List<Object?> , it works without any problem. But this would be a breaking change. Can we get this fixed?