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

Missing doc for subresources / Links #1667

Open
mrossard opened this issue Nov 24, 2022 · 0 comments
Open

Missing doc for subresources / Links #1667

mrossard opened this issue Nov 24, 2022 · 0 comments

Comments

@mrossard
Copy link

Hi,

I'm trying to figure out how to use custom URIs with multiple parameters on ApiResources that are not doctrine entities, and the doctrine-only examples from the subresources documentation don't help much - figuring out if i'm doing something wrong or if ""Unable to generate an IRI for the item" is actually a bug requires digging pretty hard into the code of the framework, which is not much fun.

Since the latest version of api platform encourages decoupling, it'd be nice to get more generic examples, especially for new/reworked features.

For example the ApiPlatform\Metadata\Link class accepts 8 parameters; only 4 of them are mentionned in the documentation, and i couldn't find any description of how they interact with each other.

Thanks for the work though, I love working with api-platform most of the time!

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

1 participant