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

Would we like to include GraphQL API capabilities? #659

Closed
ltickett opened this issue Mar 14, 2023 · 6 comments
Closed

Would we like to include GraphQL API capabilities? #659

ltickett opened this issue Mar 14, 2023 · 6 comments
Labels
stale Inactive

Comments

@ltickett
Copy link

Has there been any conversation around adding support for GraphQL to the Gem?

I realise it is quite a different beast to the REST API, but there are definitely a number of implementations of a GraphQL client consuming the GitLab API in Ruby, and it would be great to try and build something reusable.

Thanks

@NARKOZ
Copy link
Owner

NARKOZ commented Mar 29, 2023

Definitely this is something that I'd like to implement as well as rewrite the client, but it requires some time dedication which unfortunately I can't allow for now.

@ltickett
Copy link
Author

That's great to hear. I'm sure the GitLab team and community would be happy to try and support/collaobrate/contribute.

Let us know how we might be able to help 💙

@chino
Copy link

chino commented Apr 8, 2023

+1 for this

@ltickett any good gems you recommend from your research?

@github-actions
Copy link

github-actions bot commented Jul 8, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Inactive label Jul 8, 2023
@ltickett
Copy link
Author

ltickett commented Jul 8, 2023

+1 for this

@ltickett any good gems you recommend from your research?

Sorry I missed this.

I think https://github.com/github/graphql-client is the only one i've used.

However, I must admit I've found myself falling back to hand crafting using HTTParty (I suspect that's because i'm more technical and know exactly what's what).

The beauty of the gem is that it uses introspection to grab the GraphQL schema and can then validate/verify a query locally. Then again, this query/response is quite large and unless cached would probably introduce significant delays/perofmrnace challenges. I don't believe it has any pagination handling etc either (this is something I expected to get).

What might be a good way to start brainstorming?

I will reach out to some team mates to see if they have any ideas/suggestions? Perhaps we could also find some other GraphQL API's with Ruby gems/wrappers and see how they approached it?

Thanks

@github-actions github-actions bot removed the stale Inactive label Jul 9, 2023
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Inactive label Oct 8, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive
Projects
None yet
Development

No branches or pull requests

3 participants