You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i think we can close this if we make a separate issue for Schemaview should be able to determine whether a value is unset or explicitly null - discussion is here: https://github.com/orgs/linkml/discussions/1975 but imo regardless if we allow it i think we should be able to check (if we choose not to allow explicit nulls then we would need to check for them anyway ;)
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: