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

add gqloom to list #756

Merged
merged 2 commits into from
Sep 28, 2024
Merged

add gqloom to list #756

merged 2 commits into from
Sep 28, 2024

Conversation

xcfox
Copy link
Contributor

@xcfox xcfox commented Sep 28, 2024

[URL to the resource here.]
https://gqloom.dev/

[Explain what this resource is all about and why it should be included here.]

GQLoom is a GraphQL weaver for TypeScript/JavaScript that weaves GraphQL Schema and Resolvers using Valibot, Zod, or Yup, and supports sophisticated type inference to provide the best development experience.

  • 🔒 Robust type safety: enjoy intelligent hints at development time to detect potential problems at compile time;
  • 🔋 Ready to go: middleware, contexts, subscriptions, federated graphs are ready to go;
  • 🔮 No extra magic: no decorators, no metadata and reflection, no code generation, you just need JavaScript/TypeScript;
  • 🧩 Familiar schema libraries: use the schema libraries you already know (Zod, Yup, Valibot) to build GraphQL Schema and validate inputs;
  • 🧑‍💻 Develop happily: highly readable and semantic APIs designed to keep your code tidy;

Hello World

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

const HelloResolver = resolver({
  hello: query(v.string(), () => "world"),
})

export const schema = weave(HelloResolver)

@setchy setchy merged commit ac8ca60 into chentsulin:master Sep 28, 2024
1 check passed
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.

2 participants