The checks relating to both @EnumSource
and @ConditionalOnMissingBean
assume that the map of properties will only contain keys for configured values. That's not the case. For example, an empty array attribute that's using its default empty value will appear in the map as an empty array.