ObjectMapper: Unmapped properties in target #60661
Answered
by
ThomasBerends
ThomasBerends
asked this question in
Q&A
-
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.
Answered by
ThomasBerends
Jun 4, 2025
Replies: 1 comment
-
Solved: Use I misunderstood the documentation, and thought that didn't apply here. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ThomasBerends
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved: Use
#Map[if: false]
I misunderstood the documentation, and thought that didn't apply here.