How to set a local cast for an array of LaravelData property? #333
Unanswered
serious-angel
asked this question in
Q&A
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.
-
Dear Developers,
Thank you for the marvel!
Let's consider the following:
Data
Settings
Settings Class
Migration
Test
This makes sense if we would try to access one, but isn't it an empty array?
I believe it's related to the cast where the property
colors
of type array is getting casted to classColorData
, yet how would you cast an array of the class?Thank you in advance!
Best and kind regards
Beta Was this translation helpful? Give feedback.
All reactions