beauby / jsonapi-datastore

JavaScript client-side JSON API data handling made easy.
MIT License
195 stars 40 forks source link

Implemented _links property to hold link and relationship links #39

Open bmorrall opened 7 years ago

bmorrall commented 7 years ago

I'm sorry, but this is my first JS pull request, but I hope it works

I was waiting on https://github.com/beauby/jsonapi-datastore/pull/17 but decided to give it a go at fixing things up, I added a ._links._relationships key to hold all relationship links.

I've also added test files to verify it works,