@nexusts/graphql
v0.9.5
Published
SDL-first GraphQL endpoint with @Resolver decorators
Readme
@nexusts/graphql
NexusTS — Bun-native fullstack framework
Description
SDL-first GraphQL endpoint with @Resolver decorators.
Single GraphQL endpoint. POST /graphql, GET /graphql?query=, GET /graphql/schema, in-bundle GraphiQL playground. SDL-first; @Resolver / @Query / @Mutation decorators.
Install
This module is part of the NexusTS monorepo. Each module is published as its own npm package under the @nexusts/ scope.
Most apps start with just the core:
bun add @nexusts/coreThen add this module only if you need it:
bun add @nexusts/graphqlPeer dependencies
bun add graphqlgraphql^17.0.0 — Required for building / executing GraphQL schemas.
Without them the module loads but its public methods throw a clear error pointing to this install command on first call.
Usage
import { /* public API */ } from "@nexusts/graphql";See the user guide and the example app for a working demo.
License
MIT — see the root LICENSE.
