Skip to content

Conversation

@xcfox
Copy link

@xcfox xcfox commented Dec 13, 2025

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:

import { resolver, query, weave } from "@gqloom/core"
import { ZodWeaver } from "@gqloom/zod"
import { zod } from "zod"

const helloResolver = resolver({
  hello: query(z.string())
    .input({ name: z.string().nullish() })
    .resolve(({ name }) => `Hello, ${name ?? "World"}!`),
})

export const schema = weave(ZodWeaver, helloResolver)

Or using valibot:

import { resolver, query, weave } from "@gqloom/core"
import { ValibotWeaver } from "@gqloom/valibot"
import * as v from "valibot"

const helloResolver = resolver({
  hello: query(v.string())
    .input({ name: v.nullish(v.string(), "World") })
    .resolve(({ name }) => `Hello, ${name}!`),
})

export const schema = weave(ValibotWeaver, helloResolver)

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

  • Documentation
    • Added documentation for a new code-first GraphQL tool option in the tools reference table
    • Added a new GraphQL API example demonstrating an implementation using GraphQL Yoga

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 13, 2025

Walkthrough

The change updates the GraphQL documentation by adding a new code-first GraphQL tool (@gqloom/core) and its corresponding example entry to the tools and examples tables on the GraphQL overview page.

Changes

Cohort / File(s) Summary
GraphQL Documentation Updates
content/200-orm/050-overview/300-prisma-in-your-stack/02-graphql.mdx
Added @gqloom/core as a new code-first GraphQL tool entry to the tools table; added GraphQL API (GQLoom) example using GraphQL Yoga with @gqloom/core to the examples table

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Pre-merge checks

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'docs: add GQLoom to graphql.mdx' directly and clearly describes the main change—adding GQLoom documentation to a specific GraphQL file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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

📥 Commits

Reviewing files that changed from the base of the PR and between 980e2ec and e4f1271.

📒 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. The gqloom.dev domain 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/) |
Copy link
Contributor

@coderabbitai coderabbitai bot Dec 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 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

  1. Create Prisma schema and generate Prisma Client.
  2. Install @gqloom/prisma and @gqloom/core.
  3. 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.
  4. 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.

Copy link
Author

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.

Copy link
Contributor

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!

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 this pull request may close these issues.

1 participant