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

Create an IndividualElement class #937

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Create an IndividualElement class #937

merged 3 commits into from
Dec 10, 2024

Conversation

goneall
Copy link
Member

@goneall goneall commented Dec 9, 2024

This will allow individuals to be of a type that can be instantiated and could resolve the issue with SHACL validation failing spdx/spec-parser#165

This will allow individuals to be of a type that can be instantiated and
could resolve the issue with SHACL validation failing
spdx/spec-parser#165
@goneall
Copy link
Member Author

goneall commented Dec 9, 2024

See this conversation in #936 for context

@JPEWdev
Copy link
Contributor

JPEWdev commented Dec 9, 2024

This might make it kinda hard to know how named individuals are supposed to be used; I think maybe we can deal with it if necessary but I need to do some testing before we go ahead and make this change

@JPEWdev
Copy link
Contributor

JPEWdev commented Dec 9, 2024

Ah, you know what, I was think of enums. This should be fine

@goneall
Copy link
Member Author

goneall commented Dec 9, 2024

We'll need this PR (or an alternative) if we continue to restrict instantiating abstract classes in SHACL, so changing this as ready for review.

model/Core/Classes/IndividualElement.md Outdated Show resolved Hide resolved
@bact bact added the Profile:Core Core Profile and related matters label Dec 10, 2024
@bact bact added this to the 3.0.1 milestone Dec 10, 2024
model/Core/Classes/IndividualElement.md Outdated Show resolved Hide resolved
Co-authored-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Alexios Zavras (zvr) <[email protected]>
model/Core/Classes/IndividualElement.md Outdated Show resolved Hide resolved
@bact
Copy link
Collaborator

bact commented Dec 10, 2024

Approved, providing the suggested "for Core profile" by @zvr is added to the Description.

Co-authored-by: Alexios Zavras (zvr) <[email protected]>
Signed-off-by: Gary O'Neall <[email protected]>
@goneall
Copy link
Member Author

goneall commented Dec 10, 2024

@zvr - Accepted suggestion - if you could approve and merge everything should be working.

@zvr zvr merged commit 5c36aaf into main Dec 10, 2024
1 check passed
@zvr zvr deleted the individualelement branch December 10, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Profile:Core Core Profile and related matters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants