An endpoint with relationships with a data property and links property?


#1

I’m having this issue where it’s trying to fetch records based on the data and the links property of the nested records returned from my endpoint. Honestly, I only want it to perform requests based on those links.

How would I change the adapter or serializer to account for this?

Running latest Ember-Cli, Ember-Data, etc. The API is based on JSON API Spec and I’m using the JSON API Serializer / Adapter.

Any ideas are welcomed and are appreciated!


#2

It should happen automatically if there is no data property and only a links property.