Replies: 1 comment
-
Hi @drmmr763, at the moment such thing is not really possible. Technically it would be cool if it were possible to extend a data collection, being able to define what kind of data it collects and when such collection is injected we'll do the whole run of validating and creating the data and its collection. I would certainly merge such PR but don't have the time to work on it right now. |
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.
-
Hello! Thanks for this very useful package!
I seem to be having trouble figuring out how to properly deserialize into my data classes an array that is at the root level of the POST request.
For example:
I'm trying to magically deserialize the above with a controller request method.
Then in my request data class
It seems the only way I can make this work is by placing the commands into a wrapper field:
And then updating the DTOs accordingly. But, I think I really shouldn't have todo that. Any ideas on how to accomplish this?
I did try using
#[MapInputName('')]
but that just failed to validate.Beta Was this translation helpful? Give feedback.
All reactions