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

NetworkClient.connection: type changed from NetworkConnection to explicit NetworkConnectionToServer to ensure correct usage. C# has a great type system, we should use to prevent issues. #3464

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miwarnec
Copy link
Collaborator

@miwarnec miwarnec commented Apr 11, 2023

we need to use explicit types for safety.
this way C# type system can catch errors.
notice the unit test being wrong, this wasn't caught before.

TODO

  • 2 failing tests

…icit NetworkConnectionToServer to ensure correct usage.

C# has a great type system, we should use to prevent issues.
@miwarnec miwarnec added the work in progress Need more time to decide. Nothing to do here for now. label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work in progress Need more time to decide. Nothing to do here for now.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant