Skip to content

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