Enhancement
Detail
#24873
Typed configuration: use short cut format for item-value properties for serialization
It is possible to define an additional format for an item-value property (which is actually filled by a subconfiguration), so that a shorthand notation in attribute form can be used for the subconfiguration. Cf. TL/Config/FormatAnnotation
When serializing a configuration, this format is currently not used, but a structured subconfiguration is always written.
Improvement
If the short cut format supports the current value(com.top_logic.basic.config.AbstractConfigurationValueProvider.isLegalValue(Object)), the format shall also be used for serialization.
Test
- test.com.top_logic.basic.config.TestFormatAnnotations.testWriteItemWithShortCutFormat()