0.0.20 • Published 7 years ago

gestalt-graphql v0.0.20

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

gestalt-graphql

npm version

Gestalt GraphQL generates a GraphQL schema with resolution based on a definition using the GraphQL schema language.

import fs from 'fs';
import gestaltGraphQL from 'gestalt-graphql';
import gestaltPostgres from 'gestalt-postgres';
import importAll from 'import-all';

const schemaText = fs.readFileSync(`${__dirname}/schema.graphql`);

const {schema} = gestaltGraphQL(
  schemaText,
  importAll(`${__dirname}/objects`),
  importAll(`${__dirname}/mutations`),
  gestaltPostgres({databaseURL: 'postgres://localhost/example'}),
);
0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.1

8 years ago