rom icon indicating copy to clipboard operation
rom copied to clipboard

Setting output_schema is skipped when there are no read types

Open solnic opened this issue 5 years ago • 1 comments

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.

solnic avatar Apr 29 '19 11:04 solnic

@flash-gordon what's the best way to detect if a hash schema has key types that require coercion? (talking about dry types schemas)

solnic avatar Jul 23 '19 09:07 solnic