We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
let autoFields = autoMerge.init(); autoFields = autoMerge.change(autoFields, 'v0-init', (doc) => { doc.fields = { name: undefined }; });
throws RangeError: Field name does not exist: name runkit
RangeError: Field name does not exist: name
The text was updated successfully, but these errors were encountered:
Thanks for your report, @danielwii. Automerge doesn't support the use of undefined in data, since it doesn't exist in JSON. Please use null instead.
undefined
null
I have made a change f7e739a so that Automerge throws a more helpful error message when an unsupported datatype is used.
Sorry, something went wrong.
Changelog for #78 (f7e739a)
6f71302
No branches or pull requests
throws
RangeError: Field name does not exist: name
runkit
The text was updated successfully, but these errors were encountered: