I was trying to apply the mentioned annotation in ...
# stdlib
a
I was trying to apply the mentioned annotation in an interface, not a class. Do you think it was causing the problems?
i
azabost: Could you post the complete self-contained example?
a
Copy code
import io.requery.*
import io.requery.converter.EnumStringConverter

@Entity
interface ExerciseFrequency : Persistable {

    @get:Key
    @get:Generated
    var id: Int

    @get:Convert(EnumStringConverter::class)
    var interval: Interval
}

enum class Interval {
    DAILY,
    WEEKLY
}
i
I have not been able to reproduce it with 1.0.6 either
a
Well, that's weird 😕 I have already dropped that idea because of this so it doesn't matter any more. Thanks for your assistance.