-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Are the (cursor) =>
examples in the README.md
expected to work?
#169
Comments
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with |
README.md
expected to work?(cursor) =>
examples in the README.md
expected to work?
I’ve been going through the examples in the README, but I can’t seem to get the examples with the
(cursor) =>
pattern to work.For example taking the TS example and making it JS:
I get one of these gnarly errors:
I also can’t find any examples in the wild of this pattern of usage:
https://github.com/search?type=code&q=%2Foctokit%5C.graphql%5C.paginate%3C.*%3E%5C%28%5C%28cursor%5C%29%2F
https://github.com/search?type=code&q=octokit.graphql.paginate%28%28cursor%29
And my pretty questionable TS reading of the type signature tells me this shouldn’t be possible?
plugin-paginate-graphql.js/src/paginate.ts
Lines 7 to 11 in 8e3bce1
The text was updated successfully, but these errors were encountered: