Replies: 1 comment
-
I've created a PR for this: #43 we're looking internally if this is the best solution for the package. |
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
-
Is it possible to set up this package to produce valid JSON:API responses? The key issue for me here is that unlike the default Laravel JsonResource it omits the data wrapper when producing a simple response but uses it with paginated responses whereas the JSON:API specification says that
I would like to go from:
to a JSON:API valid response:
Can't seem to figure out how to change this behaviour.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions