What is an "async relationship"? / `{async: true}` vs. `{async: false}`

Regarding your “almost” - this is actually because you two are using different adapters.

The ActiveModelAdapter expects:

{
  post: {
    id: 12345,
    comment_ids: [457459, 98989898, 3643434]
  }
}

RESTAdapter (the default) expects:

{
  post: {
    id: 12345,
    comments: [457459, 98989898, 3643434]
  }
}
6 Likes