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

Update operation result should include the new value of the node #124

Open
dinoboff opened this issue Jul 19, 2017 · 0 comments
Open

Update operation result should include the new value of the node #124

dinoboff opened this issue Jul 19, 2017 · 0 comments

Comments

@dinoboff
Copy link
Collaborator

For a write operation newValue holds the the value written to the node getting written; it is the value the user submitted and the value that will get written.

For multi-location write operations, having the patch data is important but having the resulting new value of the node would be useful; the alternative is something like result.newDatabase.root.path.to.node.$value().

I am not sure if the new attribute to the result object should be the resulting node value (minor change) or the patch data (major change if we use newValue for the resulting node value).

@dinoboff dinoboff mentioned this issue Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant