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

Enhance Object Builder to enforce cardinality quantity on attributes #98

Open
Oblongs opened this issue Jan 31, 2024 · 0 comments
Open

Comments

@Oblongs
Copy link

Oblongs commented Jan 31, 2024

Feature Request

Description of Problem:

When selecting an attribute with multiple cardinality, Object Builder does not enforce the maximum bound (or indeed the minimum bound either). That is (0..1) is treated the same as (0..2) and (0..*) etc.

This means that it is possible to create non-compliant objects unintentionally which will not work in the CDM.

Potential Solutions:

Validate number of occurences and raise a warning message if it exceeds the CDM specification. Probably better that this is not a breaking error as there may be occasions where an end user wants to create invalid data knowingly.

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