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
If a config item is a int or boolean type, and do not have a default value specified with the @ConfigItem annotation (ex. @ConfigItem(defaultValue = 0)), they implicitly have a value of 0 and false respectively.
This means that integers and booleans are not required properties because they have a value to fall back on.
The text was updated successfully, but these errors were encountered:
If a config item is a int or boolean type, and do not have a default value specified with the @configitem annotation (ex. @configitem(defaultValue = 0)), they implicitly have a value of 0 and false respectively.
Just to clarify, this is only for the @ConfigItem annotation. @angelozerr From ExtendedConfigDescriptionBuildItem can we determine what annotation the config had?
If a config item is a
int
orboolean
type, and do not have a default value specified with the@ConfigItem
annotation (ex.@ConfigItem(defaultValue = 0)
), they implicitly have a value of0
andfalse
respectively.This means that integers and booleans are not required properties because they have a value to fall back on.
The text was updated successfully, but these errors were encountered: