docs icon indicating copy to clipboard operation
docs copied to clipboard

Missed Subresource yaml configurations

Open alebedev80 opened this issue 2 years ago • 2 comments

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) :(

alebedev80 avatar Aug 28 '23 14:08 alebedev80

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.

stale[bot] avatar Dec 16 '23 13:12 stale[bot]

https://github.com/api-platform/core/blob/main/tests/Fixtures/TestBundle/Resources/config/api_resources_orm/resources.yaml#L21

soyuka avatar Dec 18 '23 08:12 soyuka