0.0.6 • Published 6 years ago

@pablosz/gqless-schema v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
6 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

6 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago