Skip to content

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Dec 16, 2022

No description provided.

usu and others added 8 commits December 7, 2022 09:17
During migration from 2.7 to 3.0 I noticed we lost this very useful return
Co-authored-by: Alan Poulain <contact@alanpoulain.eu>
…class (api-platform#5261)

* fix(normalizer): render items in related collection with concrete item class

* add behavior tests

* revert changes to dummy entities

* fix normalizeCollectionOfRelations instead of normalizeRelation
…tform#5267)

* do not add linked data for denormationContext

If I look in the generated schema for denormalizationContext i can see the required fields for '@id' and '@type'. Why do have this fields required for write operations? We don't need to pass this fields in a write request. If you used this schema on the client with typescript you need to write workarounds because you not sending this fields in the requests.

See api-platform#5263

* remove whitespace

* change format to output

* restore old test except output type and add test for input
@soyuka soyuka merged commit ac71153 into api-platform:main Dec 16, 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.

6 participants