Skip to content

fix: status's range is string instead of uriorcurie#263

Open
Silvanoc wants to merge 1 commit into
mainfrom
fix-status-slot
Open

fix: status's range is string instead of uriorcurie#263
Silvanoc wants to merge 1 commit into
mainfrom
fix-status-slot

Conversation

@Silvanoc

@Silvanoc Silvanoc commented Jul 14, 2026

Copy link
Copy Markdown

The slot status declares it's range to be string, but in fact bare strings like testing or unstable are being used in the metamodel itself (more details in the below linked issue). This patch aligns the specification with its current use.

Fixing it to remain uriorcurie would require multiple changes with bigger impact than this change. They might get implemented in the future.

Fixes: linkml/linkml#3760

@Silvanoc Silvanoc added the bug Something isn't working label Jul 14, 2026
The slot `status` declares it's range to be `string`, but in fact bare
strings like `testing` or `unstable` are being used in the metamodel
itself. This patch aligns the specification with its current use.

Fixing it to remain `uriorcurie` would require multiple changes with
bigger impact than this change. They might get implemented in the
future.

Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>

@matentzn matentzn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Silvanoc can you redo the PR with just the model changes? I will do the generation of files on a slightly different cadance (it also makes it clearer which files have actially changed other than linkml_model/model/schema/meta.yaml)

@Silvanoc

Copy link
Copy Markdown
Author

@Silvanoc can you redo the PR with just the model changes? I will do the generation of files on a slightly different cadance (it also makes it clearer which files have actially changed other than linkml_model/model/schema/meta.yaml)

@matentzn sure! Guess why I have two commits with exactly that split 😉 I'll drop the 2nd one and done.

@Silvanoc Silvanoc requested a review from matentzn July 15, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

2 participants