mardi 4 juillet 2017

Ember: make data use another adapter

guys. I'm creating an app using Ember. The problem is, when im Getting/Posting data to backend, all data is packed into one Json like this:

data: {
 users:{
  ...
 },
 address:{
  ...
 }

But when i want to update users or addresses they need to be PUT to different endpoints.

My question is, is it possible, to make some portion of data use another adapter?




Aucun commentaire:

Enregistrer un commentaire