samedi 19 septembre 2015

Is there an ember adapter that supports nested resources?

The default REST Adapter expects a model like this where the dependent objects are loaded alongside the one they have a many-to-one relationship with.

{
  object: {
    ...
  }
  dependentObjects: [
    ...
  ]
}

But is there any adapter that supports data in a nested format like this?

{
  object: {
    ...
    dependentObjects: [
       ...
    ]
  }
}




Aucun commentaire:

Enregistrer un commentaire