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 list indexof, remove and contains #1666

Merged
merged 5 commits into from
Mar 18, 2024

Conversation

rorbech
Copy link
Contributor

@rorbech rorbech commented Feb 27, 2024

This PR passes arguments to RealmLists indexOf, remove and contains to core instead of relying on Kotlin object equality checks.

Closes #1625 RKOTLIN-995

Copy link
Contributor

@clementetb clementetb 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 to me

@@ -252,4 +255,97 @@ class RealmAnyNestedListNotificationTest : FlowableTests, DeletableEntityNotific
override fun closeRealmInsideFlowThrows() {
TODO("Not yet implemented")
}

@Test
@Ignore // https://github.com/realm/realm-core/issues/7264
Copy link
Contributor

Choose a reason for hiding this comment

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

realm/realm-core#7264 has been closed

}
}
@Test
@Ignore // https://github.com/realm/realm-core/issues/7264
Copy link
Contributor

Choose a reason for hiding this comment

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

realm/realm-core#7264 has been closed.

@rorbech rorbech merged commit 68308aa into next-major Mar 18, 2024
53 checks passed
@rorbech rorbech deleted the cr/fix-list-indexof-remove-contains branch March 18, 2024 12:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 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.

2 participants