-
-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
Description
When data is requested , attributes and relationships are merged into one data object it seems. Which is nice.
But i need a list of relationships to know which subrequests to make.
For example , a field may contain an array of relationships. I don't know which those will be ahead of time. So after the first request , i have to make a separate call to fetch all relationships . But how can j reliably tell if a property was original a relationship or not ? Just assuming it was a relationship when an 'id' and 'type' property are present feels a bit dirty.
Reactions are currently unavailable