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

Remove WebsocketRPCEndpoint.on_connect #40

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

5p4k
Copy link
Contributor

@5p4k 5p4k commented Jul 29, 2024

This method is never called and unused, likely left out from the cleanup after setting up RpcChannel.register_connect_handler (see for example a471d54).

I thought that removal would be the best solution. Restoring the functionality would require to call it instead of the handlers passed at construction, which would be an odd choice given that there are no other customization methods (like e.g. on_disconnect) left in the class. Besides, any user of the class that is relying on it is currently not getting their method called.

This closes #39 .

This method is never called and unused, likely left out from the cleanup after setting up RpcChannel.register_connect_handler (see for example a471d54).
Copy link
Contributor

@orweis orweis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your OSS contribution !

@orweis orweis merged commit 0e1ec50 into permitio:master Jul 29, 2024
7 checks passed
@orweis
Copy link
Contributor

orweis commented Jul 29, 2024

@danielbass37 please offer @5p4k some thank you swag.

@danielbass37
Copy link

Hey @5p4k! Sorry for the delay - I'd love to offer you some swag as a thank-you for your contribution. Are you in our Slack community by any chance? I would need you to provide an address for me to which I could send everything :)

@5p4k
Copy link
Contributor Author

5p4k commented Aug 7, 2024

That's very kind of you @danielbass37 ! I'll ping you on Slack.

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

Successfully merging this pull request may close these issues.

Purpose of WebsocketRPCEndpoint.on_connect
3 participants