-
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.
encoding/encoding/jsonschema: allow type number with int enum
This change adjusts the jsonschema logic to allow a number type to be combined with a numeric enum. Fixes #3173. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I4e2c63a51135fa3a59ec92d401b03295dc991306 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199214 Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
2 changed files
with
12 additions
and
6 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