(no title)
evancordell | 2 years ago
In cue there's no real distinction between "schemas" and "documents". If you say:
value: string
value: "abc"
then cue "unifies" the definitions for `value`, sees that "abc" is a string, and therefore `value` is valid.
IshKebab|2 years ago
For Cue you would probably just want to #include a file... but as far as I know you can't do that.
That makes it far less useful for IDEs, linters and so on.
I don't think there's any reason they couldn't add that feature. Just a bit odd that they haven't already.