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
{{ message }}
This repository was archived by the owner on Nov 14, 2023. It is now read-only.
Hi Michiel, First of all, thank you for such a novel concept. I was spinning this up and connecting to one of our stores, and right off the bat, got an exception: Argument 2 passed to App\DTO\ProductImage::__construct() must be of the type string, null given
It was easy to figure out using the message that the Product DTO constructor enforces a datatype of string, but for the images where there was no label specified, the validation failed. I simply removed the validation on the constructor parameters to get this to work for the site in question without any ill effect.
I can send a PR for this if you would like.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Michiel, First of all, thank you for such a novel concept. I was spinning this up and connecting to one of our stores, and right off the bat, got an exception: Argument 2 passed to App\DTO\ProductImage::__construct() must be of the type string, null given
It was easy to figure out using the message that the Product DTO constructor enforces a datatype of string, but for the images where there was no label specified, the validation failed. I simply removed the validation on the constructor parameters to get this to work for the site in question without any ill effect.
I can send a PR for this if you would like.
The text was updated successfully, but these errors were encountered: