Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a listener to make it possible to return updated data from add/edit actions #79

Closed
AD7six opened this issue Aug 16, 2013 · 0 comments
Assignees
Milestone

Comments

@AD7six
Copy link
Member

AD7six commented Aug 16, 2013

The response from an edit action is for example:

{
  "success": true,
  "data": {}
}

An optional listener such that the data is populated with the updated data would be useful in some cases.

For example, where the input data is sanitiazed/prepared, or completely transformed (file uploads) and the client would need to know what the updated/saved data looks like. The client could of course immediately request the view of the same resource, but that's one extra api roundtrip.

@ghost ghost assigned AD7six Aug 16, 2013
@jippi jippi closed this as completed Nov 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants