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
In certain circumstances it is desirable or necessary to omit a property from the generated converter.
For example, the following Kotlin DataObject will not compile successfully:
@DataObject(generateConverter =true)
classEnumSetDataObject() {
var enumSet:Set<MyEnum> = emptySet()
...
}
error:Couldnot generate element for io.vertx.example.EnumSetDataObject:Illegal type ? extends io.vertx.example.MyEnum of kind WILDCARD
The desired effect (omitting enumSet from the converter) can be accomplished in Kotlin by using the @JvmField annotation, however, that is a language-specific solution.
I think that it would be useful to provide this functionality, either via the @GenIgnore annotation or a new @ConverterIgnore annotation.
The text was updated successfully, but these errors were encountered:
In certain circumstances it is desirable or necessary to omit a property from the generated converter.
For example, the following Kotlin DataObject will not compile successfully:
The desired effect (omitting
enumSet
from the converter) can be accomplished in Kotlin by using the@JvmField
annotation, however, that is a language-specific solution.I think that it would be useful to provide this functionality, either via the
@GenIgnore
annotation or a new@ConverterIgnore
annotation.The text was updated successfully, but these errors were encountered: