Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constraints hierarchy specification needs to be extended to cover method parameter constraints #63

Open
jonathan-r-thorpe opened this issue Nov 19, 2024 · 0 comments

Comments

@jonathan-r-thorpe
Copy link
Contributor

The constraints hierarchy for properties in the Device Model is well described in the current specification.

However, there is no guidance for the implied hierarchy for method parameters.

Each of the parameters can have parameter constraints specified, but are also subject to datatype constraints.

The expectation is that, similar to properties, for method parameters the parameter constraints can override the datatype constraints but must obey the same rules (must fully override, cannot widen the constraints).

This needs stating in the specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant