salsify/avromatic

[2.0] Provider more context in coercion errors

Closed this issue · 0 comments

Coercion errors include details on the value and the target type (e.g. Avromatic::Model::CoercionError: Could not coerce '1' to a String) but they don't provide context on where these attributes appear in a model which makes tracking down errors difficult.