alexschimpf / fastapi-versionizer

FastAPI Versionizer
MIT License
79 stars 13 forks source link

fix: Missing WebSocket routes after versionizing is fixed #48

Closed spiritlessman closed 10 months ago

spiritlessman commented 10 months ago

Pull Request Checklist

Description

I found the bug that WebSocket routes are removed after calling versionize method. So, I fixed the bug and updated that WebSocket routes also are versionized. But I'm worry that causes side-effects. Could you review this revision?

alexschimpf commented 10 months ago

@spiritlessman Can you add a test so we have some kind of coverage for this?

spiritlessman commented 10 months ago

@spiritlessman Can you add a test so we have some kind of coverage for this?

I revised the commit to added example and test submodule for WebSocket.

alexschimpf commented 10 months ago

One minor test failure. Rest looks good to me.

alexschimpf commented 10 months ago

:tada: This PR is included in version 3.0.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: