heroiclabs / nakama-dart

Pure Dart Client for Nakama Server
https://heroiclabs.com/docs/nakama/client-libraries/dart
157 stars 48 forks source link

Rpc should accept nullable #102

Open ilmalte opened 3 months ago

ilmalte commented 3 months ago

Considering the equivalent unity library: https://github.com/heroiclabs/nakama-dotnet/blob/f01478cb40b61f5bd8267e61d75856d9e8f4c8ae/Nakama/Client.cs#L1178-L1218

I suppose the methods for rpc should accept nullable session: https://github.com/heroiclabs/nakama-dart/commit/686f00774728e5a62951af93c84fc802204e9951

lugehorsam commented 3 months ago

Hey @ilmalte it would be a new method accepting an http key rather than making the session nullable, but yes we would welcome a contribution in this area.