This repository contains minimal code to reproduce a room relationship with collate no case related issue.
Issue Tracker: https://issuetracker.google.com/issues/326258556
UserWithBooks setups relation between one user and multiple books. Field "id" is marked as collate = ColumnInfo.NOCASE in User & "uid" in Book entity.
Actual:
- Query books with Nils, nils or NILS results in the same list of books
- Query user with books with Nils, nils or NILS results in different sized lists.
Expected:
- Query user with books with Nils, nils or NILS results
See also DatabaseTest.kt
gradle :app:testDebugUnitTest