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

Format automatically relationships links #5

Open
Arkelis opened this issue Feb 8, 2021 · 0 comments
Open

Format automatically relationships links #5

Arkelis opened this issue Feb 8, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Arkelis
Copy link
Owner

Arkelis commented Feb 8, 2021

For relationships links, provide a default factory function. As an example, for an article linked to an author:

  • The "self" link of the relationship would be: /articles/{article_id}/relationships/author
  • The "related" link would be: /articles/{article_id}/author.
@Arkelis Arkelis added the enhancement New feature or request label Feb 8, 2021
@Arkelis Arkelis self-assigned this Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant