Created
October 14, 2019 22:10
-
-
Save brandones/e80f458c1d8845f755c87eb6aca1d50e to your computer and use it in GitHub Desktop.
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
Example config: | |
foo: { | |
bar: 0, | |
baz: { | |
qux: "abc", | |
quy: "xyz" | |
} | |
} | |
Example schema for this config: | |
{ | |
foo: { | |
bar: { | |
default: -1, | |
validators: [isInteger] | |
}, | |
baz: { | |
qux: { | |
default: "N/A", | |
validators: [isString] | |
}, | |
quy: { | |
default: "", | |
validators: [isString] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment