Skip to content
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

feat: Normalize nested objects #295

Merged
merged 2 commits into from
Sep 7, 2021
Merged

feat: Normalize nested objects #295

merged 2 commits into from
Sep 7, 2021

Conversation

artandor
Copy link
Contributor

Q A
Branch? main
License MIT
Doc PR api-platform/docs

When using normalization groups to expose some properties of a nested object, the current code only retrieves the IRI. It seems interesting to be able to normalize the nested item if it is an object, and return the real object instead of a string IRI.

When using normalization groups to expose some properties of a nested object, the current code only retrieves the IRI. It seems interesting to be able to normalize the nested item if it is an object, and return the real object instead of a string IRI.
@artandor artandor changed the title Normalize nested objects feat: Normalize nested objects Jul 16, 2021
Copy link
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dunglas dunglas merged commit 151bd87 into api-platform:main Sep 7, 2021
@dunglas
Copy link
Member

dunglas commented Sep 7, 2021

Thanks @artandor

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.

None yet

2 participants