Closed ravangen closed 1 month ago
Allow for validate_timeout to be cleared such that the timeout behaviour is removed by setting a nil value. Technically 0 does work already.
validate_timeout
nil
0
nil is the default value so we cannot distinguish between a get and set.
Use existing NOT_CONFIGURED sentinel value as the default argument value.
NOT_CONFIGURED
A schema can have a default validate_timeout but can be overridden to be removed.
Thanks for this improvement!
Objective
Allow for
validate_timeout
to be cleared such that the timeout behaviour is removed by setting anil
value. Technically0
does work already.Problem
nil
is the default value so we cannot distinguish between a get and set.Proposal
Use existing
NOT_CONFIGURED
sentinel value as the default argument value.Outcome
A schema can have a default
validate_timeout
but can be overridden to be removed.