json-api
json-api copied to clipboard
Top level Meta for Collection
Even though this is specifically in the To Do section, I'm making an issue for it to bump the urgency of it as I need it to pass back some additional data.
I am imagining an API that looks something like this:
Resource::collection($data)->withMeta($meta)
Again, if @timacdonald has a specific implementation in mind, let me know. If it sounds good in theory, I can try to take a stab at it.
Hey, just a heads up I'll be merging support for this shortly!
This is the exact API that will land in v1. Docs are being written at the moment. Thanks Sam.