Skip to content

Update the way sh:targetClass of box.getLabel() is rendered.#168

Open
cecemel wants to merge 1 commit intosparna-git:masterfrom
cecemel:fix/use_the_sh_targetClass_if_present_otherwise_use_the_URI_of_the_NodeShape
Open

Update the way sh:targetClass of box.getLabel() is rendered.#168
cecemel wants to merge 1 commit intosparna-git:masterfrom
cecemel:fix/use_the_sh_targetClass_if_present_otherwise_use_the_URI_of_the_NodeShape

Conversation

@cecemel
Copy link
Contributor

@cecemel cecemel commented Sep 10, 2024

The orginal comment stated use the sh:targetClass if present, otherwise use the URI of the NodeShape

This commit changes the behaviour of the method that it matches the comment. Or at least the way I could interpret it.

We could also consider adding this feature as a CLI option.

The orginal comment stated `use the sh:targetClass if present,
otherwise use the URI of the NodeShape`

This commit changes the behaviour of the method that it matches the
comment. Or at least the way I could interpret it.

We could also consider adding this feature as a CLI option.
@tfrancart
Copy link
Contributor

No, the behavior is correct, it is the comment that is wrong :-)
This is too touchy to be changed, I cannot accept the PR.
This could be an option in the CLI.

@cecemel
Copy link
Contributor Author

cecemel commented Sep 11, 2024

Thanks for the feedback; if I have time I'll try to have a shot through the CLI. Any suggestion on the argument name?

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

Successfully merging this pull request may close these issues.

2 participants