spdx / spdx/spdx-model-to-java
Cardinality is not being verified for the "to" property on relationship
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3
- Forks
- 3
- Avg merge
- 16h 30m
- Merged PRs (30d)
- 1
Description
The model indicates a minimum of 1 on the to property and the generated verify method does not check that minimum.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the generator logic that emits verify methods, then trace how the relationship's "to" property cardinality is represented. Confirm the generated method checks the declared minimum of 1 and verify the result with the project's existing tests or generated output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100