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
Describe the bug When attempting to create a nested embedded object in an embedded object list in Realm Studio, the following error is displayed:
Couldn't create the City: Cannot read properties of null (reading 'push')
To Reproduce Steps to reproduce the behavior:
class City extends Realm.Object<City> { static schema: Realm.ObjectSchema = { name: 'City', embedded: true, properties: { name: 'string', }, }; name!: string; } class Address extends Realm.Object<Address> { static schema: Realm.ObjectSchema = { name: 'Address', embedded: true, properties: { street: 'string', city: 'City', }, }; street!: string; city!: City; } class Person extends Realm.Object<Person> { static schema: Realm.ObjectSchema = { name: 'Person', primaryKey: '_id', properties: { _id: 'objectId', name: 'string', addresses: 'Address[]', }, }; _id!: Realm.BSON.ObjectId; name!: string; addresses!: Realm.List<Address>; }
Expected behavior The City object should be created without errors.
Screenshots
Versions:
Additional context This issue does not occur when creating the same objects using the Node.js SDK.
The text was updated successfully, but these errors were encountered:
➤ PM Bot commented:
Jira ticket: RSTUDIO-541
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When attempting to create a nested embedded object in an embedded object list in Realm Studio, the following error is displayed:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The City object should be created without errors.
Screenshots
Versions:
Additional context
This issue does not occur when creating the same objects using the Node.js SDK.
The text was updated successfully, but these errors were encountered: