-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Note change in where the root goes, and flatten json #966
Conversation
@bf4 didn't understood the proposal of this PR 😅
R. I'm not sure but root to serializer seems good to me. |
Ok, I just wanted to be clear that previously, in 0.10 both the adapters and serializers accepted a root option, but, via the controller, only the adapter ever got it. Since #958, via the controller, only the serializer ever gets the root option. I don't think having two places that accept root, but only one is ever used, is a good thing. So, if I understand your comment there
|
@bf4 thank you for quoting this here 😄
Yeah,
The serializer always determinate the root based on class name, there is no way to override it.
Exactly, perfect comparison using JSON API. |
can we close this @bf4?
|
@joaomdmoura Depends on how you want to resolve #987 |
Yeah, I kind of don't like the implementation there, but I guess I can rewrite this as a PR to docs to clarify what the |
Agreed! @bf4 I'm closing this one in favor of a new PR implementing this on the new Docs format |
This is for discussion. I intend to improve the docs and probably
write some code and tests, as well.
Extracted from #954