is it possible to do inline cast? #956
Unanswered
mshamaseen
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.
-
I have the following DTO:
the $data property here is kind of complex, and I don't want to create a cast class for just this specific singular case, I wanted to do something like:
in the
constructor
body, but it does not work. what options do I have?Beta Was this translation helpful? Give feedback.
All reactions