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

Collections of Mixed #3441

Merged
merged 97 commits into from
Mar 7, 2024
Merged

Collections of Mixed #3441

merged 97 commits into from
Mar 7, 2024

Conversation

papafe
Copy link
Contributor

@papafe papafe commented Sep 14, 2023

Description

Add support for collections inside Mixed (RealmValue)

Fixes #3446

TODO

  • Changelog entry
  • Tests (if applicable)
  • Memory structure of RealmValue
  • Test/support for dynamic

@papafe
Copy link
Contributor Author

papafe commented Sep 14, 2023

@nirinchev @fealebenpae I've created this PR just to get initial feedback on the approach for collections of mixed, mostly if the directions I'm taking so far makes sense. So it's all very rough, but there is one passing test at least 😁

@papafe
Copy link
Contributor Author

papafe commented Sep 22, 2023

The base for the implementation for list has been done:

  • Add list inside mixed
  • Add/Set/Insert list inside list
  • Corrected equality check
  • Modified realmValue

Missing:

  • Dynamic testing
  • Notifications

…-major

* main:
  Allow customizing json ignore attribute for serialized classes (#3451)
  Update README.md (#3450)
  Fix changelog
  Prepare for vNext (#3444)
  Prepare for 11.5.0 (#3442)
  Migrate to new sync error codes (#3440)
  Starting one cluster per platform on CI (#3426)
  Fix trailing comma when there are no features to analyze (#3438)

# Conflicts:
#	wrappers/realm-core
@papafe
Copy link
Contributor Author

papafe commented Mar 6, 2024

@nirinchev added missing tests for @count/@size/@type', ALL/ANY/NONE` and nested notifications. If the CI is green this is mergeable for me

Copy link
Member

@nirinchev nirinchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - there are 2 test failures on CI, but I'm not sure if those are flaky or something that is a result of these changes.

@papafe
Copy link
Contributor Author

papafe commented Mar 7, 2024

Looks good - there are 2 test failures on CI, but I'm not sure if those are flaky or something that is a result of these changes.

Flaky tests unfortunately.

* Added support for indexed RealmValue

* Fixed changelog

* Corrected indexable property types in schema

* Added missing newline in the changelog

* Testing fix for CI
@papafe papafe merged commit 7c25a1d into main Mar 7, 2024
65 of 66 checks passed
@papafe papafe deleted the fp/mixed-collections branch March 7, 2024 14:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 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.

Structure RealmValue to occupy less memory
2 participants