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

Add objectSchema as a property on RealmObjectBase #1493

Closed
wants to merge 3 commits into from

Conversation

nirinchev
Copy link
Member

@nirinchev nirinchev commented Jan 25, 2024

Fixes #1449

Breaking changes:

  • Removes ObjectSchema.properties in favor of making it an Iterable<Property>
  • ObjectSchema is no longer const-constructed

TODO:

  • More tests with sync adding classes
  • Test that an object obtained prior to a schema change updates its schema in-place
  • Test that an unmanaged object updates its object schema after added to a Realm
  • Consider adding objectSchema to collection types
  • Update generator tests

* main:
  Switch to integration tests (#1461)
  Always use persistent handles when passing dart objects as userdata to callbacks (#1491)

# Conflicts:
#	test/dynamic_realm_test.dart
@nirinchev nirinchev closed this Mar 6, 2024
@nirinchev nirinchev deleted the ni/object-schema branch March 6, 2024 15:53
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose RealmObjectBase.schema
1 participant