Replies: 1 comment
-
Here are the options I have been looking at so far. using prepareForPipelineThis is my current approach, using prepareForPipeline:
I have to use extending pipelineCan't get this to work. Thought I could extend the pipeline, but when using the example in the documentation my IDE complains about
using magic creation method (fromArray)
using custom Normalizer
It only is used if the source is an array, but I still have to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Was wondering what the recommendations are for computed properties.
E.g. the source data in an Array has
firstName
andlastName
, and my target DTO hasname
.So, if I process an array I want to set
name
, by concatenatingfirstName
andlastName
.When I process an object / model etc then I expect the name is already set, so no action is needed/wanted.
Should I use
prepareForPipeline
/ extend the pipeline / use a custom Normalizer (for an Array) / or ... ?Beta Was this translation helpful? Give feedback.
All reactions