Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missed Subresource yaml configurations #1858

Open
alebedev80 opened this issue Aug 28, 2023 · 2 comments
Open

Missed Subresource yaml configurations #1858

alebedev80 opened this issue Aug 28, 2023 · 2 comments

Comments

@alebedev80
Copy link

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

Copy link

stale bot commented Dec 16, 2023

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.

@soyuka soyuka transferred this issue from api-platform/core Dec 18, 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

No branches or pull requests

2 participants