Browse Source

Removed combine.sh, using new glob schema features instead.

thegreatrefactor
Gisle Aune 5 years ago
parent
commit
9925907e93
  1. 4
      graph2/combine.sh
  2. 4
      graph2/gqlgen.yml
  3. 1
      graph2/graph.go

4
graph2/combine.sh

@ -1,4 +0,0 @@
#!/bin/sh
echo "# Generated by stiching together the files under schema/ – DO NOT EDIT" >generated.gql
cat schema/root.gql schema/**/*.gql >>generated.gql

4
graph2/gqlgen.yml

@ -1,4 +1,6 @@
schema: generated.gql
schema:
- schema/root.gql
- schema/types/*.gql
exec:
filename: generated.go

1
graph2/graph.go

@ -6,7 +6,6 @@ import (
graphql "github.com/99designs/gqlgen/graphql"
)
//go:generate ./combine.sh
//go:generate go run github.com/99designs/gqlgen -v
// New creates a new GraphQL schema.

Loading…
Cancel
Save