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

Fix sub-querying on a RealmResults ignores the original filter #1013

Merged
merged 6 commits into from
Sep 29, 2022

Conversation

clementetb
Copy link
Contributor

Fixes sub-querying on RealmResults ignores the original filter.

It also changes the return type of RealmResults::query from RealmResults to RealmQuery.

@clementetb clementetb self-assigned this Sep 21, 2022
@cla-bot cla-bot bot added the cla: yes label Sep 21, 2022
Copy link
Contributor

@cmelchior cmelchior left a comment

Choose a reason for hiding this comment

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

👍

CHANGELOG.md Outdated
@@ -9,6 +9,7 @@
### Fixed
* Classes using `RealmObject` or `EmbeddedRealmObject` as a generics type would be modified by the compiler plugin causing compilation errors. (Issue [981] (https://github.com/realm/realm-kotlin/issues/981))
* Ordering not respected for `RealmQuery.first()`. (Issue [#953](https://github.com/realm/realm-kotlin/issues/953))
* Sub-querying on a RealmResults ignores the original filter. (Issue [#998](https://github.com/realm/realm-kotlin/pull/998))
Copy link
Contributor

Choose a reason for hiding this comment

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

We should also add a line of text to Breaking Changes.

@clementetb clementetb merged commit f3618c7 into releases Sep 29, 2022
@clementetb clementetb deleted the ct/realm-results-query-as-realmquery branch September 29, 2022 07:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 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.

3 participants