rom
rom copied to clipboard
Setting output_schema is skipped when there are no read types
This makes sense in case of adapters where key coercion is not required, but when it is, we ALWAYS need to use an output_schema because it will handle key coercion even when there are no read types defined.
This already caused issues in rom-elasticsearch
and rom-http
, both currently override output_schema
Relation option as a workaround.
@flash-gordon what's the best way to detect if a hash schema has key types that require coercion? (talking about dry types schemas)