Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination Support #3

Open
kschutt opened this issue Jun 10, 2016 · 2 comments
Open

Pagination Support #3

kschutt opened this issue Jun 10, 2016 · 2 comments

Comments

@kschutt
Copy link

kschutt commented Jun 10, 2016

Does the formatter support pagination? We are trying to use Grape and jsonapi-resources together to create an API to spec, however, we cannot get pagination to work properly. I believe this is because normally with jsonapi-resources, the request is routed through a ResourceController and during serialization the appropriate operations are applied and meta keys filled out.

Thanks for any insight!

@cdunn
Copy link
Owner

cdunn commented Jun 10, 2016

My use case has just been for using as a serialization layer to ember-data so I've been doing pagination manually (render documents, meta: { ...pagination metadata... }) and haven't really gotten into all the other goodness in jsonapi-resources so this might not fit your needs at the moment (though PRs are welcome if you don't find anything else).

@kschutt
Copy link
Author

kschutt commented Jun 10, 2016

Thanks for the response. I was worried I was missing something. I'll take a look at it again and see how far I can get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants