GorePradnyesh / Faro

0 stars 0 forks source link

resend the updated object when calling update API calls #42

Open nakulshah87 opened 8 years ago

nakulshah87 commented 8 years ago

If not then i would have to do one of the 2 things:

  1. Update the object on the frontend in the code only
  2. Make another API call to get the newly updated object.

If we could return the object in the update API itself then it would be the best way to keep frontend and backend in sync

kaivansanghvi commented 8 years ago

Difference is when we generate some data on backend.. In that case, object has to be sent back.. In other cases, object can be reused since its exactly same data.. For ease, I personally dont mind sending the object in both cases since I dont think our updates are huge anyways.. we can take a call either ways.