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

client library #137

Open
rex-remind101 opened this issue Dec 23, 2023 · 2 comments
Open

client library #137

rex-remind101 opened this issue Dec 23, 2023 · 2 comments

Comments

@rex-remind101
Copy link

following up from #55 (comment) and hoping to start a conversation about how a client library might function. cc @paulofaria

@xtremekforever
Copy link

I actually spent some time writing a small client library for my work project and I've been thinking about how this could be done in a more "reusable" way for more to use. AsyncHTTPClient can be used for doing requests to a GraphQL endpoint that runs HTTP, and something like Hummingbird's WebSocketClient can be used for the WebSocket GraphQL implementation. All of this could be quite simple to implement I think if we leverage this GraphQL library for all the types that are needed.

@NeedleInAJayStack
Copy link
Member

Awesome thoughts! I'm definitely interested in a server-side compatible client library too! Let me know if you want someone to bounce ideas off of or if you want to contribute it to the GraphQLSwift org.

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

3 participants