-
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.
This provides a place to put data that users might currently be storing at the top level of a module.cue file. We define a two level map to make it easy for people to "do the right thing" and avoid namespace conflicts and/or ambiguities between different tools using the same space. The top level defines the namespace for a set of custom data; the next level defines attributes within that namespace. This approach also makes it easier to define validation schemas for custom data. The "legacy" namespace is defined as a place to put existing top level attributes so that there's a default place for an automated migration tool to put them. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I2ceb5161406bce584e3fd0e947adb43233f2fdce Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194670 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information
Showing
3 changed files
with
49 additions
and
12 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