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
Currently TypeDescriptions can only be forward declaring: "I am an array consisting of Strings".
An interesting feature could be to extend this vocabulary with indirect references. These would allow a more structure approach to declare dependencies between fields:
"I am an array consisting of strings found in this other array."
Currently TypeDescriptions can only be forward declaring: "I am an array consisting of Strings".
An interesting feature could be to extend this vocabulary with indirect references. These would allow a more structure approach to declare dependencies between fields:
"I am an array consisting of strings found in this other array."
Some inspiration can be: https://www.typescriptlang.org/docs/handbook/2/keyof-types.html
The important part here is, this is not programming or otherwise behavioural checks. This is a structural type description.
Some possible operators:
keyOf
, checks whether the given HashMap/Struct contains the given Type as keymemberOf
, checks whether the given Array contains the given Type as a memberOthers could be considered.
The text was updated successfully, but these errors were encountered: