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
And I have another file that contains the data, data.cue:
name: "Dave"
age: 50
How do I link those files together? I tried:
import "./schema.cue"
But it tells me relative paths are not supported.
I can't see how IDEs can support highlighting errors and so on without something like this. (The VSCode extension doesn't support it anyway yet but I imagine it is on the TODO list.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Suppose I have a schema file
schema.cue
:And I have another file that contains the data,
data.cue
:How do I link those files together? I tried:
But it tells me relative paths are not supported.
I can't see how IDEs can support highlighting errors and so on without something like this. (The VSCode extension doesn't support it anyway yet but I imagine it is on the TODO list.)
Beta Was this translation helpful? Give feedback.
All reactions