Replies: 1 comment 2 replies
-
At the moment, I just have:
As a quick and dirty fix, but it removes the openapi schema info. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! Have been using django-ninja for awhile and love what it's been able to do for our org!
One small problem I keep running into is when I provide context, via the
model_validate
method, to create the models, it works perfectly fine. However, when I return the model, it gets "re-validated" before being returned via the API, and it essentially wipes the custom context that the resolvers rely on.Is there a way to approach this problem?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions