Dynamic definition of the property name #537
andrey-helldar
started this conversation in
Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I didn't find it in the documentation and code, so I suggest adding the ability to dynamically determine the name of the incoming key when generating the DTO.
For example, my case study is that an object comes in for input:
And depending on the level of the customer loyalty program, you need to derive your price.
For example:
This is similar to #261, but differs in that I suggest using the naming logic on the outside without touching the data itself.
Beta Was this translation helpful? Give feedback.
All reactions