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

Resource relationships #255

Open
alexander-arce opened this issue Dec 21, 2017 · 2 comments
Open

Resource relationships #255

alexander-arce opened this issue Dec 21, 2017 · 2 comments

Comments

@alexander-arce
Copy link

How to define a ResourceDenition for nested relationship?, Ex.
/products/:id/templates/

Best regards!

@remmeier
Copy link
Collaborator

remmeier commented Jan 3, 2018

sorry for the delayed answer...

should not be necessary, all you need is a definition for "products". Or if the type and url matches (meaning both "products"), you do not need a resource definition at all.

What would be necessary however is a "relationshipName" field in the "Query" object.

@remmeier
Copy link
Collaborator

remmeier commented Jan 3, 2018

(personally I only worked inclusions so far)

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