You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #741 I tried to add more information by adding an index like values[2]. But that doesn't work well.
The name of the key is available, but only if the key decoder is for a string.
Otherwise the key can be anything. Don't know what could be a good strategy for this.
We could use string.inspect perhaps.
When a value fails to decode when using
dynamic.dict
, we get an error that saysvalues
.e.g.
If you have dozens of values to decode, this doesn't give any information about which value failed.
CrowdHailer/oas#1
I would like to modify this decoder to return the name of the key.
The text was updated successfully, but these errors were encountered: