ConfigMe icon indicating copy to clipboard operation
ConfigMe copied to clipboard

PropertyValue: Specify if value is default or not

Open ljacqu opened this issue 5 months ago • 0 comments

PropertyValue wraps a value returned by Property and specifies whether it was "fully valid" in the resource, but a false cannot be distinguished whether it comes from the resource (with errors) or if the default value had to be used.

For migrations, it's important to know whether there is a value (fully valid or not) in the resource. "Fully valid" in that case makes it misleading and it is not possible to answer this question besides extending BaseProperty to make getFromReader public, which is ugly.

To be revised together with #480

ljacqu avatar Aug 31 '25 20:08 ljacqu