I’m stuck with choosing a hash schema.
Here are my requirements:
- when given
nil or value is omitted for a type with default - set to default
- when value is omitted for a type without default - raise error
Seems like nothing fits…
I wonder why
permissive schema rises an error on omitted values for types with defaults. It doesn’t sound so “permissive”. Otherwise it would be a good fit.