You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually what is submitted is an array. I think this is down to the Explode validator - it can accept a comma separated list, explode it and validate the contents, but this one is configured with a null delimiter. The ExplodeVisitor would do the right thing if it knew the incoming data was already an array, but right now we have no way of telling it that.
One way to tackle that would be to convert it's Input to an ArrayInput before we process it, a bit like we do for single-element collections. But the logic there is already getting pretty soupy - we probably need it separate it out into some kind of ElementVisitorInterface.
The text was updated successfully, but these errors were encountered:
I'm getting something like:
It should be:
Actually what is submitted is an array. I think this is down to the
Explode
validator - it can accept a comma separated list, explode it and validate the contents, but this one is configured with anull
delimiter. TheExplodeVisitor
would do the right thing if it knew the incoming data was already an array, but right now we have no way of telling it that.One way to tackle that would be to convert it's
Input
to anArrayInput
before we process it, a bit like we do for single-element collections. But the logic there is already getting pretty soupy - we probably need it separate it out into some kind ofElementVisitorInterface
.The text was updated successfully, but these errors were encountered: