-
Notifications
You must be signed in to change notification settings - Fork 160
switch to go:embed #719
Copy link
Copy link
Open
Description
The internet requirement of the validate subcommand has been a fairly regular annoyance when using this tool in CI jobs and the like (where it's possible for the GET to fail intermittently), not to mention that it means you can't do any config validation in an air-gapped setup.
In the past, using gojsonschema's support for embedded data was ruled out because it was too annoying to maintain, but now that Go 1.16 has the embed package with //go:embed it seems that we should be able to implement this in a fairly painless way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels