Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending classes via multiplayer fails without warning #175

Open
HomineLudens opened this issue Nov 20, 2022 · 0 comments
Open

Sending classes via multiplayer fails without warning #175

HomineLudens opened this issue Nov 20, 2022 · 0 comments

Comments

@HomineLudens
Copy link
Contributor

Right now only objects are sent trough the websocket channel using client/server stream.
The choice is made for various reasons:

  • only a limited amount of data should be sent cyclically
  • big structures can be sent from time to time
  • nested or self reference object are not allowed

That said, a big warning should be rise on the console when user try to sent classes or self referenced object or list of.
Right now it just silently fails, rising a lot of headaches for poor programmers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant