We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A very common pattern is to define a value set with a single element. For example:
:SpanishProduct { :country [:Spain] }
Although this syntax is ok, one of the most common errors is to try to define the previous shape as:
:SpanishProduct { :country :Spain }
which is not what is intended (that declares that values should belong to a type :Spain.
:Spain
Having some syntactic sugar for single value shapes would make this feature less error-prone. One possibility would be the equals sign.
:SpanishProduct { :country = :Spain }
The text was updated successfully, but these errors were encountered:
my temptation is to save "=" for defaults, which don't have any
The current semantics but could be useful for form-building etc.
Sorry, something went wrong.
We close this due to inactivity, @labra feel free to reopen if still relevant.
No branches or pull requests
A very common pattern is to define a value set with a single element. For example:
Although this syntax is ok, one of the most common errors is to try to define the previous shape as:
which is not what is intended (that declares that values should belong to a type
:Spain
.Having some syntactic sugar for single value shapes would make this feature less error-prone. One possibility would be the equals sign.
The text was updated successfully, but these errors were encountered: