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
const Foo = skygear.Record.extend('foo'); const foo = new Foo(); foo.c = undefined; skygear.publicDB.save(foo) >> Uncaught (in promise) TypeError: Cannot read property 'toJSON' of undefined
Should undefined be casted to null, or warn them skygear does not support undefined?
The text was updated successfully, but these errors were encountered:
We should provide a better error message.
Sorry, something went wrong.
Return meaningful error for undefined record key
c24af27
refs #113
cheungpat
Steven-Chan
No branches or pull requests
Should undefined be casted to null, or warn them skygear does not support undefined?
The text was updated successfully, but these errors were encountered: