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

Fix CursorPagination parameter schema type #7708

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Conversation

jalaziz
Copy link
Contributor

@jalaziz jalaziz commented Feb 3, 2021

Description

The CursorPagination's cursor query parameter expects a string and not
an integer.

This fixes issues where a valid cursor is rejected due to an incompatible type in the schema.

refs #7691

@jalaziz jalaziz mentioned this pull request Apr 8, 2021
6 tasks
@antonrh
Copy link

antonrh commented Apr 24, 2021

any reasons to not merge this fix ?

The CursorPagination's cursor query parameter expects a string and not
an integer.

Fixes encode#7691
@jalaziz
Copy link
Contributor Author

jalaziz commented Apr 25, 2021

Just waiting for attention from a maintainer, I think 😞.

@antonrh
Copy link

antonrh commented Dec 9, 2021

@tomchristie , is anything blocking here ?

@tomchristie
Copy link
Member

Yes, makes sense - thanks!

@tomchristie tomchristie merged commit b3beb15 into encode:master Dec 13, 2021
@jalaziz jalaziz deleted the 7691 branch December 13, 2021 22:39
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
The CursorPagination's cursor query parameter expects a string and not
an integer.

Fixes encode#7691
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

Successfully merging this pull request may close these issues.

None yet

3 participants