Hello all,
I have a Grid that is bound to a DataSource. The schema for the data source is such that there is an embeded (related / expanded) objecting being returned by the API. Everything works fine for the read and update methods. However when the create method is called, the response from the POST method in the API only returns the resource that was created (not the expanded / related data). So when the grid attempts to rebind to the response object it fails because it does not exist in the POST response.
Should we simply force our API to provide the expanded object in the response? This seems like a violation to the RESTful paradigm perhaps?
How are others handling this scenario?
Thanks.