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
Is there an option to turn off the dynamic fields option (DynamicFieldsMixin) even when passing the query? #121
Comments
You can remove |
@yezyilomo What if there are other places where the |
I see your point, this could be very useful, though I wouldn't suggest the name of the argument to be |
@yezyilomo |
I like the idea, can we make it happen? |
Kinda long but very descriptive, I think we can go with that. @daidaitaotao what's your opinion on this? |
Definitely, we are going to implement it. |
yeah |
Okay, |
This could also just be |
I think |
We recently run into a situation that the children serializer break inside the to_representation method.
For example
As a result, ChildSerializer did not work because it did not pass correct data in the
query
params which were for the parent serializer. I wonder if we have an option to toggle dynamic field functionality when instantiating the serializer?Thanks,
Tao
The text was updated successfully, but these errors were encountered: