-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Question] Accessing Manager from inside Transformer #72
Comments
This is currently not supported. It might be something we can solve with a custom serializer. But we would have to provide the serializer with information about the nesting level. I'll take a look at this. |
I tried a few things and came up with the sld (single-level-data) serializer.
You'll have to set the serializer to |
Hi @rhwilr , this is exactly what I was looking for. |
Thanks for the feedback. This feature has now been released in version 2.2.0. @dimassrio If this didn't address your issue, please let me know. |
Hi, just curious if there is a way to change serializer from inside the transformer.
Sometime when returning X-to-one relation it's better to change from DataSerializer into PlainSerializer (Resource.item()) since it will have another nesting variable inside the relations.
Already read the code, but can't find out myself. Thanks for the help.
The text was updated successfully, but these errors were encountered: