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

Add support for websockets #15

Merged
merged 1 commit into from
Jul 22, 2023
Merged

Conversation

soldag
Copy link
Contributor

@soldag soldag commented Jul 4, 2023

Hey it's me again 👋

I noticed that Injected is currently not compatible with websocket routes. It fails with the following error:

TypeError: Injected.<locals>.inject_into_route() missing 1 required positional argument: 'request'

This PR adds support for that.

@soldag
Copy link
Contributor Author

soldag commented Jul 22, 2023

@matyasrichter Do you think you will have a few minutes soon to have a look at this? It shouldn't take much time and would be highly appreciated.

@matyasrichter
Copy link
Owner

@soldag Sorry about the delay, I must have missed the notification about your PR. LGTM, thank you for your contribution!

@matyasrichter matyasrichter merged commit 7c5edd4 into matyasrichter:main Jul 22, 2023
@soldag
Copy link
Contributor Author

soldag commented Jul 22, 2023

No worries, thank you!

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.

2 participants