Replies: 1 comment 1 reply
-
At the moment with PHP 8 that would not be possible since we cannot nest attributes in any way. There is a possibility with PHP 8.1, you could then create two attributes:
These two attributes then would extend from For now I would use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Thank you for this great project, i have been using your dto package before but i will be using it from now on.
I have 2 question about the package.
i want to use this package to validate api requests and responses.
can we create different validators for same data object for create and update api requests
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions