Skip to content

[Form] Inserted a warning about a limitation of model transformers #15780

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

Merged
merged 1 commit into from
Oct 8, 2021
Merged

[Form] Inserted a warning about a limitation of model transformers #15780

merged 1 commit into from
Oct 8, 2021

Conversation

spackmat
Copy link
Contributor

@spackmat spackmat commented Sep 7, 2021

There is a surprising limitation of model transformers, that cannot filter out items for a Collection field type. Took me a whole day to find out, so here is a warning about that. See symfony/symfony#36469 for details. (Maybe that issue should be linked for further details?).

@spackmat spackmat changed the title Inserted a warning about a limitation model transformers Inserted a warning about a limitation of model transformers Sep 7, 2021
@javiereguiluz javiereguiluz added this to the 4.4 milestone Oct 8, 2021
@carsonbot carsonbot changed the title Inserted a warning about a limitation of model transformers [Form] Inserted a warning about a limitation of model transformers Oct 8, 2021
There is a surprising limitation of model transformers, that cannot filter out items for a Collection field type. Took me a whole day to find out, so here is a warning about that. See symfony/symfony#36469 for details. (Maybe that issue should be linked for further details?).
@javiereguiluz javiereguiluz changed the base branch from 5.3 to 4.4 October 8, 2021 13:46
@javiereguiluz javiereguiluz requested a review from xabbuh as a code owner October 8, 2021 13:46
@javiereguiluz javiereguiluz merged commit 9e9ca5b into symfony:4.4 Oct 8, 2021
@javiereguiluz
Copy link
Member

Gregor, thanks for adding this caution note. It will hopefully save some time and troubles to others who faced the same issue. Congrats on your first Symfony Docs contribution 🎉

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

Successfully merging this pull request may close these issues.

3 participants