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
Introduce typescript-generic-sdk plugin #2978
Conversation
|
It would be awesome to have higher kinded types feature in typescript to abstract over wrapper type. For example apollo return result in some wrapper and with this generic implementation we forced to unwrap it in requester. |
|
Very nice! I think the effort of having to create a wrapper for client is fine. Thanks @akozhemiakin ! |
|
Thank you for the response and for the great project. I just pushed another commit which allows to pass options to the requester. |
|
Btw, here is the Apollo requester implementation created to be used with this plugin: |
|
Sorry for the delay, @akozhemiakin . |
|
Merged, I also pushed a fix to align the version number in |
|
Alpha version now available: |
|
I can only find documentation for |
|
@DrChrispoper First of all, take my excuses for not providing docs along with the original request, I'll try to schedule it. Meanwhile, have you seen this gist? It is how we use |
|
Thanks for reaching out so fast, yeah I've seen it thanks! The docs would be great mainly to know that it exists hehe! |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Possible solution for #2415 which abstracts over concrete graphql client implementation