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

Fix for incorrect issubclass() check. #1283

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

emmceemoore
Copy link
Contributor

The issubclass() check is not correct--the parameters should be flipped (docs).

Having the parameters in the wrong order makes it so that I'm not able to use a custom middleware that extends CamelCaseMiddleWare.

@tfranzel
Copy link
Owner

tfranzel commented Sep 4, 2024

Wow! Accidentally correct in the tests since this also checks CamelCaseMiddleWare == middleware. You must have noticed because you subclassed CamelCaseMiddleWare. Thanks for the PR

@tfranzel tfranzel merged commit 2b4d5ab into tfranzel:master Sep 4, 2024
31 checks passed
@emmceemoore
Copy link
Contributor Author

Thank you for the quick turn around and for all that you do on this project. I really appreciate it! 🙂

@emmceemoore emmceemoore deleted the patch-1 branch September 4, 2024 17:20
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