angular2-jsonapi
angular2-jsonapi copied to clipboard
Querying nested resources
Is there anyway to query nested resources like authors/1/books/2/reviews/3?
Is this possible?
Not yet, I currently have only limited time on my hands and this feature would probably require a lot of thinking how this should be done. If there is interest I would appreciate a rough idea of how such a method would look like.
@HennerM I have some time and can help with this, since I'll probably need it anyway. Any idea where to start? How should we setup this kind of nested structure without breaking the current solution?
Actually, fetching relationships described in http://jsonapi.org/format/#fetching-relationships. So, url will look like authors/1/relationships/books in this case.