You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
…#314) (#315)
* Transform relationship keys with shallow field transformation options
* bump patch version
* Add line item for other bug fix
---------
Co-authored-by: Mathew Polzin <matt.polzin@gmail.com>
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.
The text was updated successfully, but these errors were encountered: