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

Don't serialize annotated types #881

Merged

Conversation

sebastian-philipp
Copy link
Contributor

Signed-off-by: Sebastian Wagner sebastian@inter.link

Fixes: #700

I've uploaded a test case, but I have no idea how to add that to the project here:

django-ninja-AnyType.zip

Signed-off-by: Sebastian Wagner <sebastian@inter.link>
@sobolevn sobolevn closed this Mar 22, 2022
@sobolevn sobolevn reopened this Mar 22, 2022
@sobolevn sobolevn merged commit 32a33c3 into typeddjango:master Mar 22, 2022
@sobolevn
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

mypy crashes with TypeError: Object of type AnyType is not JSON serializable
2 participants