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

Explain a bit more what Ruru is? #1625

Closed
sebastiancarlos opened this issue Mar 9, 2024 · 2 comments · Fixed by #1699
Closed

Explain a bit more what Ruru is? #1625

sebastiancarlos opened this issue Mar 9, 2024 · 2 comments · Fixed by #1699
Assignees

Comments

@sebastiancarlos
Copy link

sebastiancarlos commented Mar 9, 2024

The page https://graphql.org/graphql-js/running-an-express-graphql-server/ introduces the Ruru dependency. Yet, it's not really explained. Later in the page, it is referred to as "Graph_i_QL", which is not its name but rather the name (I suppose) of the previous tool used in this documentation.

By looking around, it seems that Ruru is pre-release, and there's not much information about it online.

Giving this situation, would you consider updating the page to explain a bit more what Ruru is, and why was it picked over GraphiQL?

@sebastiancarlos sebastiancarlos changed the title Explain a bit more what is ruru? Explain a bit more what Ruru is? Mar 9, 2024
@benjie
Copy link
Member

benjie commented Mar 9, 2024

Good call. Copying this from Reddit:

Hi, Ruru author here, and also contributor to GraphiQL. Ruru is a very thin wrapper around GraphiQL which adds a couple extensions and makes it easy to get started by giving you a string you can serve easily. GraphiQL used to be bundled with express-graphql, but that library is now deprecated in favour of graphql-http, which has declared bundling GraphiQL to be out of scope (a view I support). Since there’s not currently a super simple way to get GraphiQL itself running with graphql-http, we’re (temporarily?) recommending Ruru until we come up with a cleaner solution. Ruru itself was put together to go with PostGraphile and Grafast (a new execution engine for GraphQL) but I hope it will be useful beyond that.

TL;DR: Ruru is a wrapper around GraphiQL

@benjie
Copy link
Member

benjie commented May 15, 2024

Addressed in #1699

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

Successfully merging a pull request may close this issue.

2 participants