We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
according to the JsonApi specs Updating To-One Relationships I'm trying to build this path /articles/1/relationships/author using devour.
/articles/1/relationships/author
My code lokes like this:
JsonApi.one('article', 1) .relationships() .all('author')
Which generates: /articles/1/relationships/authors.
/articles/1/relationships/authors
Is there a way to generate the singular author? If I define a collectionPath I would break the pluralize functionality. Same if I disable pluralize.
author
Cheers and thanks for the nice Plugin.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there,
according to the JsonApi specs Updating To-One Relationships I'm trying to build this path
/articles/1/relationships/author
using devour.My code lokes like this:
Which generates:
/articles/1/relationships/authors
.Is there a way to generate the singular
author
?If I define a collectionPath I would break the pluralize functionality. Same if I disable pluralize.
Cheers and thanks for the nice Plugin.
The text was updated successfully, but these errors were encountered: