Replies: 1 comment
-
Could you write me a pest test (see |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is what I'm doing
`
class SignupData extends Data
{
}`
And this is my ServiceData Class
`
class PersonalServiceData extends Data implements DataObject
{
}`
This is throwing me this following error:
Spatie\LaravelData\Exceptions\CannotFindDataClass: Class given does not implement
DataObject::class
in file /vendor/spatie/laravel-data/src/Attributes/DataCollectionOf.php on line 17I have tried implementing the DataObject Class to both of these classes but the issue was not fixed.
Beta Was this translation helpful? Give feedback.
All reactions