what’s that creating nested resources format. typically how is json format when oneToMany associated models?
i think:
{
“data”: {
“type”: “posts”,
“attributes”: {
“title”: “Ember Hamster”,
“src”: “http://example.com/images/productivity.png”
},
“relationships”: {
“comments”: {
“data”: [
{“type”: “comments”, attributes: { text: “some comment”} },
{“type”: comments, attributes: {text: “some comment”} }
}
}
}
}