-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/load: clarify the docs for Config.ModuleRoot
The previous docs were a bit unclear and outdated; they still referred to the old cue.mod file, and it wasn't particularly clear whether ModuleRoot was the cue.mod directory itself or its parent directory. The behavior when the field was left empty was also not documented. While here, point to cue/load from the cue API as it may otherwise not be clear why APIs like Context.CompileString are not able to load imports from dependencies declared in cue.mod/module.cue. Fixes #1380. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I73f851f5ca7a2be0b3165f64de7dd369faad6887 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1196662 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Aram Hăvărneanu <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information
Showing
3 changed files
with
12 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters