You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using this with a project and it's working well for including pagination metadata in a JSONAPI using AMS and Kaminari. However I want to extend the returned metadata to include additional values other than the existing pagination keys; currently that's not possible as the entire meta: options passed to render method are overwritten.
I've opened a PR that suggests an approach - essentially this just merges rather than overwrites any existing meta: options. Let me know what you think 😁
I'm currently using this with a project and it's working well for including pagination metadata in a JSONAPI using AMS and Kaminari. However I want to extend the returned metadata to include additional values other than the existing pagination keys; currently that's not possible as the entire
meta:
options passed torender
method are overwritten.I've opened a PR that suggests an approach - essentially this just merges rather than overwrites any existing
meta:
options. Let me know what you think 😁#37
The text was updated successfully, but these errors were encountered: