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

Don't try to generate iri, if it is already defined in $context #5201

Merged
merged 1 commit into from Nov 21, 2022

Conversation

gassan
Copy link
Contributor

@gassan gassan commented Nov 18, 2022

Q A
Branch? 2.x
Tickets #...
License MIT
Doc PR api-platform/docs#...

After delete-item operation I would like to output deleted data, but the normalizer fails on generating iri with PK=null.
Previously the iri was not generated when passed with in $context.

@soyuka
Copy link
Member

soyuka commented Nov 21, 2022

can you commit:

fix(serializer): use iri from $context if defined

@gassan
Copy link
Contributor Author

gassan commented Nov 21, 2022

done, thanks.

@soyuka soyuka merged commit 2cb3b42 into api-platform:2.7 Nov 21, 2022
soyuka added a commit that referenced this pull request Nov 23, 2022
soyuka added a commit to soyuka/core that referenced this pull request Nov 23, 2022
soyuka added a commit to soyuka/core that referenced this pull request Nov 23, 2022
soyuka added a commit that referenced this pull request Nov 23, 2022
soyuka added a commit to soyuka/core that referenced this pull request Nov 25, 2022
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