-
Notifications
You must be signed in to change notification settings - Fork 15
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
array: null
for any shaped arrays not allowed
#187
Comments
@sneakers-the-rat can we close this? I believe this was discussed in #189 or do we want to allow |
i think we can close this if we make a separate issue for |
I believe we arrived at a place where this would represent an array with any shape:
but currently the range of the
array
slot is a non-nullablearray_expression
:linkml-model/linkml_model/model/schema/meta.yaml
Line 1430 in e53a511
edit: wait obviously you can make metamodel attributes optional too my bad. i'll PR
Not sure how to express this in the schema, my first instinct would be something like this:
but I'm not sure if that's valid.
Another option to be able to differentiate between an explicit null like that and an any shaped array might be to make the syntax
which would make the metamodel more straightforward:
The text was updated successfully, but these errors were encountered: