ObjectMapper: Unmapped properties in target #60661
-
With the new ObjectMapper component, how can I map an object where the target has extra properties? class Source { class Target { When I map Source to Target, it says it can't read property 'extra' at Source. Which.. true. But that's also fine. How can I make sure $extra is ignored by the ObjectMapper? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved: Use I misunderstood the documentation, and thought that didn't apply here. |
Beta Was this translation helpful? Give feedback.
Solved: Use
#Map[if: false]
I misunderstood the documentation, and thought that didn't apply here.