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

allow for usage of inner_key when list is expected #137

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

djarecka
Copy link
Contributor

I had an issue when using inner_key to support any_of or exactly_one_of, because there was no support for list, so I added it to work with example like this:

class	slot	range exactly_one_of	  range any_of	      desc
>class	slot	exactly_one_of	          any_of	      description
>		inner_key: range          inner_key: range	
ClassA				                              class A
ClassA	slot_a	int|string	  	                      slot a
ClassA	slot_b		                  int|string	      slot b

If there is other way that I should represent any_of or exactly_one_of please let me know, couldn't find an example

@cmungall cmungall merged commit 7d1d66d into linkml:main Mar 12, 2024
2 checks passed
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.

None yet

2 participants