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

How to fetch relationships? #335

Open
veneliniliev opened this issue Oct 1, 2021 · 2 comments
Open

How to fetch relationships? #335

veneliniliev opened this issue Oct 1, 2021 · 2 comments

Comments

@veneliniliev
Copy link

How to fetch relationships?
JSON API spec: https://jsonapi.org/format/#fetching-relationships

GET /articles/1/relationships/comments HTTP/1.1

@Eemelinen
Copy link

Using the new version of library 3.0.0. The example in the demo seems to work for us still. What I noticed was that the names of properties defined in relationships object much match names of the properties received from your server.

@veneliniliev
Copy link
Author

I do not find such functionality in the demo.
can you give me some more info?

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