Replies: 1 comment 3 replies
-
Hey @ezraanglo please share real samples from your codebase |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Thank you for this amazing tool!
I'm restarting my laravel project and using the latest releases, decided to implement swagger and saw a post about scramble so I gave it a try! I'm just having a problem with automatically infering the "data" of my resource when im doing a collection.
Basically when I do new AnonymousResourceCollection($data, UserResource::class), its not infering my resource type.
But if I create a new UserCollection class, it works. Is there a way to work around this without creating a new file and class?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions