How can I return all the fields regarding to a relation in Ember ? I'm using JSONAPI but only ID and type are on the relation.
Asked
Active
Viewed 29 times
1
-
that's hard to answer: What does the server-response look like? What are the model-definitions? What have you tried to get anything (what??) else but the type of the model 'judge' and what errors did you get? Other properties are usually "hidden" behind `model.get('property')` – Jeff Mar 17 '18 at 01:13
1 Answers
0
Generally you get this setup if the values you are after are in the included
key further down in the payload. If you aren’t seeing that, sending a ?include=judge
as part of your GET request should get you the value in the overall response from the server ...

acorncom
- 5,975
- 1
- 19
- 31