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
Setting nested fields to objects currently does not work.
data
const o = new Parse.Object('Person'); o.set('data', {});
await o.save();
data.a
{}
o.set('data.a', {});
Parse.Object.get('data')
The call to .get('data') returns {} , effectively ignoring the update.
.get('data')
The call to .get('data') should return {a:{}}
{a:{}}
Server
master
Ubuntu 20.04
local
Database
MongoDB
v4.4.5
Client
The text was updated successfully, but these errors were encountered:
Relevant pull requests: #729, #1301
Note that none of the tests added by these pull requests test the scenario where a non-existent nested field is set to an object.
Sorry, something went wrong.
@mstniy Since you are looking into nested objects can help out with this issue #1343
Closing via #1364
Let's see
No branches or pull requests
New Issue Checklist
Issue Description
Setting nested fields to objects currently does not work.
Steps to reproduce
data
.data.a
to the empty object,{}
Parse.Object.get('data')
to read the value backActual Outcome
The call to
.get('data')
returns{}
, effectively ignoring the update.Expected Outcome
The call to
.get('data')
should return{a:{}}
Environment
Server
master
, as of 13th of MayUbuntu 20.04
local
Database
MongoDB
v4.4.5
local
Client
master
, as of 13th of MayLogs
The text was updated successfully, but these errors were encountered: