Skip to content

Conversation

ttskch
Copy link
Contributor

@ttskch ttskch commented Jul 21, 2023

Q A
Branch? 3.1
Tickets #5482
License MIT
Doc PR -

This PR fixes #5482.

Because ExtractorPropertyMetadataFactory::update() method was updating only some of the properties of the ApiProperty class, so in decorated factories, metadata such as openapiContext were not being updated.

'description' => 'get',
'readable' => 'is',
'writable' => 'is',
'writableLink' => 'is',
Copy link
Member

Choose a reason for hiding this comment

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

Can you don't move existing keys (to ease merge commits) please?

Copy link
Contributor Author

@ttskch ttskch Jul 21, 2023

Choose a reason for hiding this comment

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

@dunglas OK, I've fixed it and force-pushed as 624105c. Thanks.

@ttskch ttskch force-pushed the fix/extractor-property-metadata-factory branch from 5e1fd4f to 624105c Compare July 21, 2023 06:42
@dunglas dunglas merged commit 9cb0ee4 into api-platform:3.1 Jul 21, 2023
@dunglas
Copy link
Member

dunglas commented Jul 21, 2023

Thanks @ttskch!

@ttskch ttskch deleted the fix/extractor-property-metadata-factory branch July 21, 2023 09:02
xavierleune pushed a commit to xavierleune/api-platform that referenced this pull request Jul 22, 2023
Romaixn pushed a commit to Romaixn/core that referenced this pull request Oct 3, 2023
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