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

Panic when sending the wrong cursor #149

Open
JohnnyMarconi opened this issue Sep 23, 2023 · 1 comment
Open

Panic when sending the wrong cursor #149

JohnnyMarconi opened this issue Sep 23, 2023 · 1 comment

Comments

@JohnnyMarconi
Copy link

JohnnyMarconi commented Sep 23, 2023

Description

Sending the wrong cursor to the backend causes panic, I think this is not correct behaviour.

src/inputs/pagination_input.rs:80
let object = cursor.object().unwrap();

Steps to Reproduce

Send query with args: pagination: { cursor: "BigInt[1]:2" } using wrond cursor format

Versions

1.0.0-rc.2

@0-don
Copy link

0-don commented Dec 6, 2023

yes having the same issue aswell really anoying, since you cant actually catch it easilly

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