-
Notifications
You must be signed in to change notification settings - Fork 868
docs: add GQLoom to graphql.mdx #7386
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe change updates the GraphQL documentation by adding a new code-first GraphQL tool ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Pre-merge checks✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
content/200-orm/050-overview/300-prisma-in-your-stack/02-graphql.mdx(2 hunks)
🔇 Additional comments (1)
content/200-orm/050-overview/300-prisma-in-your-stack/02-graphql.mdx (1)
32-32: GQLoom packages are confirmed to be active and maintained—documentation verification can proceed.Both
@gqloom/core(v0.14.1) and@gqloom/prisma(v0.14.0) are published on npm and actively maintained with recent updates. Thegqloom.devdomain is the official homepage for all GQLoom packages, confirming the documentation link is legitimate.The addition to the tools table is accurate. No further verification needed before merging—the packages, maintainers, and documentation site are all in place.
| | [GraphQL API -- NestJs (SDL-first)](https://pris.ly/e/ts/graphql-nestjs-sdl-first) | `@nestjs/apollo` | n/a | GraphQL server based on [NestJS](https://nestjs.com/) | | ||
| | [GraphQL API (Nexus)](https://pris.ly/e/ts/graphql-nexus) | `@apollo/server` | `nexus` | GraphQL server based on [`@apollo/server`](https://www.apollographql.com/docs/apollo-server) | | ||
| | [GraphQL API (TypeGraphQL)](https://pris.ly/e/ts/graphql-typegraphql) | `apollo-server` | `type-graphql` | GraphQL server based on the code-first approach of [TypeGraphQL](https://typegraphql.com/) | | ||
| | [GraphQL API (GQLoom)](https://pris.ly/e/ts/graphql-gqloom) | `graphql-yoga` | `@gqloom/core` | GraphQL server based on [GQLoom](https://gqloom.dev/) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
site:github.com/prisma/prisma-examples graphql-gqloom
💡 Result:
I searched the prisma/prisma-examples repo for "graphql-gqloom" and found no matching example. The prisma examples repo index is here. [1] The GQLoom project (gqloom) is a separate repo (modevol-com/gqloom) and not part of prisma/prisma-examples. [2]
Sources:
- prisma/prisma-examples (repository index). [1]
- modevol-com/gqloom (GQLoom repository). [2]
🌐 Web query:
https://pris.ly/e/ts/graphql-gqloom Prisma GQLoom example
💡 Result:
The pris.ly link redirects to the Prisma site. GQLoom is a separate Code‑First GraphQL library that can weave Prisma models into a GraphQL schema via the @gqloom/prisma package and provide quick CRUD resolvers via its resolver factory.
Quick steps
- Install: npm i @gqloom/core @gqloom/prisma graphql. [1][2][3]
- Read the GQLoom docs for weave/resolver usage and the Prisma integration details. [2]
- See the GQLoom repo for examples and source. [4]
Minimal (conceptual) flow — see GQLoom docs for exact APIs
- Create Prisma schema and generate Prisma Client.
- Install @gqloom/prisma and @gqloom/core.
- Use GQLoom’s Prisma adapter to weave Prisma models into the schema and/or use the resolver factory to generate CRUD resolvers from your Prisma models.
- Weave the produced resolvers into a GraphQL schema and run your GraphQL server.
Links / references
- pris.ly redirect (Prisma): https://pris.ly/e/ts/graphql-gqloom. [1]
- GQLoom docs (weave/resolver + Prisma integration): gqloom.dev. [2]
- @gqloom/prisma package (npm): npmjs.com/package/@gqloom/prisma. [3]
- GQLoom GitHub (examples & source): github.com/modevol-com/gqloom. [4]
If you want, I can fetch a concrete copy‑paste example (exact imports/API usage) from the GQLoom Prisma docs and show a runnable snippet. Which would you prefer?
🌐 Web query:
Prisma examples GQLoom GraphQL repository
💡 Result:
Here are the relevant repositories/docs:
- GQLoom main repo (includes a GQLoom Prisma integration package). See the gqloom GitHub repository. [1]
- GQLoom website / docs (usage, examples, and Prisma integration docs). [2]
- Prisma example projects repository (for general Prisma + GraphQL examples). [3]
References:
[1] https://github.com/modevol-com/gqloom
[2] https://gqloom.dev/
[3] https://github.com/prisma/prisma-examples
Remove or clarify the GQLoom entry—the link does not resolve to a published Prisma example.
The short link https://pris.ly/e/ts/graphql-gqloom does not point to an example in the prisma/prisma-examples repository. GQLoom is a separate, third-party GraphQL library with Prisma integration (@gqloom/prisma), not a Prisma-published example. Including it in a table of Prisma examples is misleading. Either remove this entry to maintain accuracy, or reframe the table to explicitly include third-party integrations and update the link to point directly to GQLoom's documentation or repository rather than implying a Prisma example exists.
🤖 Prompt for AI Agents
In content/200-orm/050-overview/300-prisma-in-your-stack/02-graphql.mdx around
line 58, the table row listing "GraphQL API (GQLoom)" with the short pris.ly
link is misleading because the short link doesn't point to an official Prisma
example and GQLoom is a third‑party library; either remove the entire GQLoom row
from the Prisma examples table or rework the table to explicitly mark
third‑party integrations and replace the pris.ly shortlink with an accurate
external URL (e.g., GQLoom docs or the @gqloom/prisma integration repo) and
update the description to indicate this is a third‑party integration rather than
a Prisma‑published example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link should be available after the related PR is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!
Hello!
I am the maintainer of GQLoom.
GQLoom is a new GraphQL Schema producer. Unlike traditional Schema Builders, GQLoom doesn't have a built-in Builder API. Instead, it leverages popular schema libraries like Zod, Valibot, Yup, Effect Schema.
GQLoom provides first-class support for Prisma and supports creating a complete GraphQL API service from Prisma using just a few lines of code through [Resolver Factory].
A simple example is as follows:
Or using valibot:
This PR adds GQLoom to 02-graphql.mdx
And there is a complete Prisma + GQLoom example (still in PR).
If you have any questions or thoughts about GQLoom, please let me know!
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.