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

Allow extending a JSON object rather than overwriting it #4

Open
skzap opened this issue Jul 11, 2020 · 0 comments
Open

Allow extending a JSON object rather than overwriting it #4

skzap opened this issue Jul 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@skzap
Copy link
Member

skzap commented Jul 11, 2020

It would be really convenient to be able to extend JSON objects rather than overwriting it when doing a COMMENT or USER_JSON. I don't think it deserves to be a feature in the chain natively, but it should definately be a feature in javalon. It would essentially fetch the content (with /account or /content) first, then extend the JSON with Object.assign(oldDoc, newDoc) before transacting.

@skzap skzap added the enhancement New feature or request label Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant