I am using ember-data and marshmallow-jsonapi, respectively, for my frontend and backend. If a relationship has an error, marshmallow-jsonapi adds
/data to the end of the pointer path. However, when ember-data serializes those errors, it appends ‘/data’ to the relationship attribute name, e.g.
institution/data instead of
So what is the correct format for the pointer of a relationship?
- “pointer”: “/data/relationships/institution/data”
- “pointer”: “/data/relationships/institution”