We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sometime a relationship may be polymorpic. For example, the relationship of vehicle could be a Car or a Lorry.
vehicle
Car
Lorry
Currently there is no way to provide different relationship serializers based on the value of the relationship.
When defining the relator serializer, it would be good to be able to pass a collection of serializers with a discriminator field.
The text was updated successfully, but these errors were encountered:
jun-sheaf
egmacke
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? *
Sometime a relationship may be polymorpic. For example, the relationship of
vehicle
could be aCar
or aLorry
.Currently there is no way to provide different relationship serializers based on the value of the relationship.
Describe the solution you'd like*
When defining the relator serializer, it would be good to be able to pass a collection of serializers with a discriminator field.
The text was updated successfully, but these errors were encountered: