reyesoft / ngx-jsonapi

JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
https://ngx-jsonapi.reyesoft.com/
MIT License
101 stars 52 forks source link

How to fetch relationships? #335

Open veneliniliev opened 2 years ago

veneliniliev commented 2 years ago

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

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

Eemelinen commented 2 years ago

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 commented 2 years ago

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