https://github.com/paulwoitaschek/roommultimodulebug
https://github.com/paulwoitaschek/roommultimodulebug
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paulwoitaschek/roommultimodulebug
- Owner: PaulWoitaschek
- Created: 2018-01-31T12:43:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-16T10:06:41.000Z (over 7 years ago)
- Last Synced: 2025-03-24T14:42:10.836Z (7 months ago)
- Language: Kotlin
- Size: 126 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RoomMultiModuleBug
https://issuetracker.google.com/issues/68118746
This project has a room entity with a dao in the library module and has it's Room database in the app module.
If you now change the select statement from `WHERE id = :arg0` to `WHERE id = :id` in the [LibraryDao](https://github.com/PaulWoitaschek/RoomMultiModuleBug/blob/master/library/src/main/java/de/paul_woitaschek/roombug/library/LibraryDao.kt), it fails to compile.
The same for the [LibraryEntity](https://github.com/PaulWoitaschek/RoomMultiModuleBug/blob/master/library/src/main/java/de/paul_woitaschek/roombug/library/LibraryEntity.kt):
If the properties are not named `arg0`, `arg1` it fails to compile.