0.0.6 • Published 4 years ago

@pablosz/gqless-schema v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@gqless/schema

Creates a gqless schema from a GraphQL endpoint.

Usage

Codegen

import { Codegen, fetchSchema } from '@gqless/schema'

const schemaDefs = await fetchSchema(fetchQuery)
const codegen = new Codegen(schemaDefs, { typescript: true })

const files = codegen.generate()
// => { path: string, contents: string }[]
0.0.5

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago