You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add XML and YAML support for new Resource attribute (api-platform#4382)
* feat: add XML and YAML support for new Resource attribute
* feat: add unit tests
* feat: add Metadata compatibility tests
* feat: support properties out of resources
* fix: service inheritance
* fix: schema
* fix: a function cannot provide a Generator and an object|null
* chore: do not load yaml/xml ORM resources on ODM
* fix: CI
* fix: rollback securityPostValidation on Operation (should be handler in another PR)
* fix: mongodb tests
* fix: fix ApiLoader legacy operationName
* fix: schema validator
* fix: graphql BC layer
* fix: hal behat scenarios
* fix: ignore tests/Core/Behat contexts from PHPStan analysis
* fix tests
* fix: BC layer Behat tests
* fix: yaml services decoration
* fix: revert change that broke everything
* fix: phpunit tests
* fix: read legacy identifiers from properties
* feat: move Extractor functions to trait
* fix: Behat coverage
* fix: coveralls
Co-authored-by: soyuka <[email protected]>
if (!$graphql && $legacyOperations = $this->getAttributes($resource, $operationType)) {
90
+
if (!$graphql && $legacyOperations = $this->extractAttributes($resource, $operationType)) {
66
91
@trigger_error(
67
92
sprintf('Configuring "%1$s" tags without using a parent "%1$ss" tag is deprecated since API Platform 2.1 and will not be possible anymore in API Platform 3', $operationType),
68
93
\E_USER_DEPRECATED
@@ -76,17 +101,17 @@ private function getOperations(\SimpleXMLElement $resource, string $operationTyp
0 commit comments