You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Entity
interface Foo {
// @get:Key...
@get:Converter(...)
val type : Type
enum class Type { BAR, BAZ }
}
Compilation fails with
app/build/generated/source/kapt/debug/.../data/db/FooEntity.java:195: error: type Type does not take parameters
public static final Type<FooEntity> $TYPE = new TypeBuilder<FooEntity>(FooEntity.class, "Foo")
Then if I refactor Type to e.g. FooType and clean - build I got warning dialogs from IDEA that memory and disk changes conflicts and same error repeats.
Should type word be checked at compile time to be escaped, etc?
The text was updated successfully, but these errors were encountered:
I don't use Requery's io.requery.meta.Type manually. Tried to use full path or outer class reference of Foo.Type - error remains, extra paths are shown as redundant. Look at sample in related commit.
When I declare some entity with field
type
e.g.Compilation fails with
Then if I refactor
Type
to e.g.FooType
and clean - build I got warning dialogs from IDEA that memory and disk changes conflicts and same error repeats.Should
type
word be checked at compile time to be escaped, etc?The text was updated successfully, but these errors were encountered: