If the :field_transformation config option is :dasherize or :camelize, the document's attributes and relationship keys are transformed. Since :dasherize_shallow and :camelize_shallow was introduced, only the keys of the document's attributes are transformed, but not the keys of relationships.
In my view, relationship keys should also be transformed when the :dasherize_shallow or :camelize_shallow options are used.
Related to #310. I'll create a PR for this small fix.
If the
:field_transformation
config option is:dasherize
or:camelize
, the document's attributes and relationship keys are transformed. Since:dasherize_shallow
and:camelize_shallow
was introduced, only the keys of the document's attributes are transformed, but not the keys of relationships.In my view, relationship keys should also be transformed when the
:dasherize_shallow
or:camelize_shallow
options are used.Related to #310. I'll create a PR for this small fix.