Open alex-lairan opened 5 years ago
Does it coerce key names to symbols?
How to verify ?
I thought that transform_keys(&:to_sym)
should to the job.
It does not look like this custom struct class is used. Regardless, structs should not be used for coercing keys. We have Relation#output_schema
for this, as I mentioned - see how rom-elasticsearch is structured and mimic it here. We need a custom schema class configured and then you can do this.
Hi @solnic
I tried to make spec pass, but I have troubles with Dry::Struct :
I think I'm not using it well
Any idea ?