Skip to content

Multiple runtime constraints for one object property. #65

@jonathan-r-thorpe

Description

@jonathan-r-thorpe

Within the current specification an object has an array of runtime constraint objects that have an NcPropertyId to identify the targeted property. Currently there is no language to restrict the number of runtime constraints for a given NcPropertyId.

For instance, it is possible to specify the following runtime constraints for a single property (id=2p10):

[NcPropertyConstraint< NcPropertyId=(level=2, index=10), defaultValue=10 >
 NcPropertyConstraint< NcPropertyId=(level=2, index=10), defaultValue=20 >
 NcPropertyConstraint< NcPropertyId=(level=2, index=10), defaultValue=30 >]

Although this would seem nonsensical, it is currently allowed according to the specification.

Therefore, this needs to clarified in the spec i.e. for a given property of an object, there MUST only be a maximum of one corresponding runtime constraint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions