equinor/webviz-config

Support `Optional` in `callback_typecheck`

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
The callback_typecheck decorator cannot be used with Optional arguments yet.

Describe the solution you'd like
Include a convert mechanism for Optional types in callback_typecheck's convert function.