-
Notifications
You must be signed in to change notification settings - Fork 1.4k
update JSON adapter pagination links how to guide #1472
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
Conversation
hi @edwinlunando thanks for this. Can you explain your motivation for the new example and for removing the existing example? What version of AMS are you targeting? |
Because the current master documentation on adding pagination link is now broken. I tried the master version and following the guide, but it is not working. #1466 |
@edwinlunando would you be up to amending this PR to include a failing test for the documented scenario? That should be working. |
Looks like the meta option was moved into the adapter in https://github.com/rails-api/active_model_serializers/pull/1233/files#diff-1bab1447950ba5f1422e5a9c8442c687L10 (CollectionSerializer is just a rename, no behavior change) |
Yes. That's why the old method on adding pagination links is not working. The current docs is misleading. |
👍 to this or something similar. I was just stumped on the same issue. |
Any feedback on this? I believe this is quite important since the current docs is wrong. |
Sorry for delay and thanks for following up! ❤️ I'll review soon B mobile phone
|
[DOC] update JSON adapter pagination links how to guide
No description provided.