@ -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
@ -1,4 +1,6 @@
schema: generated.gql
schema:
- schema/root.gql
- schema/types/*.gql
exec:
filename: generated.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.