Skip to content

Behavior around const for properties' data schema #2200

@egekorkan

Description

@egekorkan

Talking with @ektrah, the use case with constant value properties came up. There is still the need to abstract a value of a Thing as a property but that never changes. A basic solution is to put const:myValue in the property and implement a behavior in the Consumer to not look into forms if const appears in the property level. The protocol can be anything, better to make it obvious that is not used.

What do others think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageAutomatically added to new issues. TF should triage them with proper labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions