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

MS-05 Constraints Violations #20

Closed
jonathan-r-thorpe opened this issue Oct 7, 2024 · 1 comment
Closed

MS-05 Constraints Violations #20

jonathan-r-thorpe opened this issue Oct 7, 2024 · 1 comment
Labels
triage Apply to all new issues

Comments

@jonathan-r-thorpe
Copy link
Contributor

Does the backup mechanism obey the constraints MS-05 mechanism? i.e. if the client attempts to configure a property to a value that violates constraints, should it cause an error?

If the client attempts to configure a value to one that violates constraints, should there be a specific error code? Or should that be in the error message?

How does the client know what the constraints for a configurable value are? Should the constraints be included in the backup dataset?

@github-actions github-actions bot added the triage Apply to all new issues label Oct 7, 2024
@cristian-recoseanu
Copy link
Contributor

The constraints are already available in the data model and can be accessed via the /descriptor endpoints for:

  • a rolePath (class descriptor)
  • a property (datatype descriptor)

These are already in the backup data set as part of the class manager branch.

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

No branches or pull requests

2 participants