Skip to content

Commit

Permalink
fix: enable to update all keys in metadata (#5684)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttskch committed Jul 21, 2023
1 parent 965af9e commit 9cb0ee4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Metadata/Property/Factory/ExtractorPropertyMetadataFactory.php
Expand Up @@ -99,6 +99,23 @@ private function update(ApiProperty $propertyMetadata, array $metadata): ApiProp
'readableLink' => 'is',
'required' => 'is',
'identifier' => 'is',
'default' => 'get',
'example' => 'get',
'deprecationReason' => 'get',
'fetchable' => 'is',
'fetchEager' => 'get',
'jsonldContext' => 'get',
'openapiContext' => 'get',
'jsonSchemaContext' => 'get',
'push' => 'get',
'security' => 'get',
'securityPostDenormalize' => 'get',
'types' => 'get',
'builtinTypes' => 'get',
'schema' => 'get',
'initializable' => 'is',
'genId' => 'get',
'extraProperties' => 'get',
];

foreach ($metadataAccessors as $metadataKey => $accessorPrefix) {
Expand Down

0 comments on commit 9cb0ee4

Please sign in to comment.