Fixed
Status Update
Comments
yb...@google.com <yb...@google.com> #2
makes sense, we can have property in the @Entity class.
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit dd2ff4d63682cc0add38a6d6ce10410195c46dc6
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Jul 11 16:05:09 2018
Entity fields can be ignored by names
Fields inherited from an Entity parent can be ignored by adding
ignoredColumns to @Entity.
Bug: 63522075
Test: EntityProcessorTest, PojoProcessorTest
Change-Id: Ie737babc43e47cea383ee7c697c9b1fd8d8e5253
M room/common/src/main/java/androidx/room/Entity.java
M room/compiler/src/main/kotlin/androidx/room/processor/EntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/test/kotlin/androidx/room/processor/EntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTest.kt
https://android-review.googlesource.com/720915
https://goto.google.com/android-sha1/dd2ff4d63682cc0add38a6d6ce10410195c46dc6
Branch: androidx-master-dev
commit dd2ff4d63682cc0add38a6d6ce10410195c46dc6
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Jul 11 16:05:09 2018
Entity fields can be ignored by names
Fields inherited from an Entity parent can be ignored by adding
ignoredColumns to @Entity.
Bug: 63522075
Test: EntityProcessorTest, PojoProcessorTest
Change-Id: Ie737babc43e47cea383ee7c697c9b1fd8d8e5253
M room/common/src/main/java/androidx/room/Entity.java
M room/compiler/src/main/kotlin/androidx/room/processor/EntityProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/PojoProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/processor/ProcessorErrors.kt
M room/compiler/src/test/kotlin/androidx/room/processor/EntityProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/processor/PojoProcessorTest.kt
Description
Version used: 1.0.0-alpha3
Devices/Android versions reproduced on: all
Shouldn't there be a possibility to @Ignore some fields that are inherited from super class?