Skip to content

PropertyValue: Specify if value is default or not #491

Description

@ljacqu

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions