Closed tylerhunt closed 4 years ago
Thanks for working on this fix! ❤️
Wasn’t sure if a spec should be included or where it should be added,
yes, specs for bugs are always required, otherwise we may accidentally break things. Please add it to spec/integration/schema/custom_types_spec.rb
.
@solnic Specs have been added. Thanks!
Resolve issue with error handling of custom sum types. The error message code was hardcoded to expect the YAML backend, which was causing an error when the I18n backend was used.
Wasn’t sure if a spec should be included or where it should be added, but this covers the patch:
Fixes #328.