Skip to content

Conversation

makepanic
Copy link
Contributor

fixes #45

@bschouwerwou
Copy link

Thanks for this! I've been trying this out and it seems it doesn't handle nested embedded resources.

For example, given the following payload:

{
  _embedded: {
    item: [
      {
        _embedded: { foo: {...}, _links: {...} },
        _links: {...}
      }
    ]
  },
  _links: {...}
}

If I have defined attrs for the model foo, they are not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

serializers attr object is ignored during normalization

2 participants