toArray() without mapping options ? #183
-
the closest behavior is :
Although transform has been disabled, the mapping property is still respected, and actuality the property names changed
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Transforming != mapping properties. Transformation is about transforming complex types into more basic types it has nothing to do with mapping property names. Maybe we cannot update the transform method with a property |
Beta Was this translation helpful? Give feedback.
-
Hi @rubenvanassche |
Beta Was this translation helpful? Give feedback.
Transforming != mapping properties. Transformation is about transforming complex types into more basic types it has nothing to do with mapping property names.
Maybe we cannot update the transform method with a property
mapPropertyNames
which is defaulttrue
, then it can be disabled using the transform method when required. I would accept a PR implementing such feature! ThetoArray
method would keep mapping property names by default, but if required you can then use thetransform
method with a flag.