Skip to content

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

Merged
merged 1 commit into from
Feb 12, 2016

Conversation

edwinlunando
Copy link
Contributor

No description provided.

@bf4
Copy link
Member

bf4 commented Jan 28, 2016

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?

@edwinlunando
Copy link
Contributor Author

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

@bf4
Copy link
Member

bf4 commented Jan 31, 2016

@edwinlunando would you be up to amending this PR to include a failing test for the documented scenario? That should be working.

@bf4
Copy link
Member

bf4 commented Jan 31, 2016

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)

@edwinlunando
Copy link
Contributor Author

Yes. That's why the old method on adding pagination links is not working. The current docs is misleading.

@cassiascheffer
Copy link
Contributor

👍 to this or something similar. I was just stumped on the same issue.

@edwinlunando
Copy link
Contributor Author

Any feedback on this? I believe this is quite important since the current docs is wrong.

@bf4
Copy link
Member

bf4 commented Feb 12, 2016

Sorry for delay and thanks for following up! ❤️ I'll review soon

B mobile phone

On Feb 12, 2016, at 6:30 AM, Edwin Lunando [email protected] wrote:

Any feedback on this? I believe this is quite important since the current docs is wrong.


Reply to this email directly or view it on GitHub.

bf4 added a commit that referenced this pull request Feb 12, 2016
[DOC] update JSON adapter pagination links how to guide
@bf4 bf4 merged commit 344d09d into rails-api:master Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants