enhancement
minor
#24873
Typed configuration: use short cut format for item-value properties for serialization
It is possible to define an additional format for an item-valued property (which is actually populated by a subconfiguration), so that a shorthand notation in the form of an attribute can be used for the subconfiguration. See TL/Config/FormatAnnotation
Currently, this format is not used when serializing a configuration; instead, a structured subconfiguration is always written.
Improvement
If the shortcut format supports the current value (com.top_logic.basic.config.AbstractConfigurationValueProvider.isLegalValue(Object)), the format should also be used for serialization.
Test
- test.com.top_logic.basic.config.TestFormatAnnotations.testWriteItemWithShortCutFormat()