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

fix(metadata): property override when value is set #4767

Merged
merged 1 commit into from
May 21, 2022

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented May 20, 2022

@soyuka soyuka mentioned this pull request May 20, 2022
@dannyvw
Copy link
Contributor

dannyvw commented May 20, 2022

@soyuka This fixes it. But now some other test is failing, but maybe i have configured something wrong. I need to check that.

@soyuka
Copy link
Member Author

soyuka commented May 21, 2022

You should use the new ApiProperty attribute instead of legacy ones.

@soyuka soyuka force-pushed the fix/legacy-property-override branch from 8108f42 to 9728e45 Compare May 21, 2022 08:58
@soyuka soyuka merged commit 5797120 into api-platform:2.7 May 21, 2022
@dannyvw
Copy link
Contributor

dannyvw commented May 21, 2022

I use the new XML configuration instead of PHP attributes. XML configuration is not legacy right?

soyuka added a commit to soyuka/core that referenced this pull request Jun 29, 2022
soyuka added a commit to soyuka/core that referenced this pull request Jun 29, 2022
soyuka added a commit to soyuka/core that referenced this pull request Jun 29, 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.

2 participants