Open alebedev80 opened 1 year ago
How to declare subresource by YAML configuration?
uriVariables: [ 'companyId' => new Link(fromClass: Company::class, toProperty: 'company'), 'id' => new Link(fromClass: Employee::class), ],
YAML examples completely missed here P.S. current documentation quality much worse when i choose API platform (was version 2.4) :(
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
https://github.com/api-platform/core/blob/main/tests/Fixtures/TestBundle/Resources/config/api_resources_orm/resources.yaml#L21
How to declare subresource by YAML configuration?
YAML examples completely missed here P.S. current documentation quality much worse when i choose API platform (was version 2.4) :(