breadboard
breadboard copied to clipboard
[FR] constrain `type` property of schema type
Tell me more.
so for example updating the schema type to be:
type Schema = {
type: "string" | "boolean" | "object"
}
"number" | "array" -- yup, got it.
"number" | "array" -- yup, got it.
We'll ideally integer too as it's being used for input validation
@aomarks This feels potentially related to the new-new-syntax discussion we were having yesterday on the use of anyOf in schema types.