finos / finos/cdm-object-builder
Enhance Object Builder to enforce cardinality quantity on attributes
Open
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 5
- Avg merge
- 1h 53m
- Merged PRs (30d)
- 2
Description
## 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.
Contributor guide
Assessment
This issue has not been assessed yet.