Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaCompiler ¶
type SchemaCompiler struct {
// contains filtered or unexported fields
}
SchemaCompiler compiles multiple .graphql files into a single schema
func NewSchemaCompiler ¶
func NewSchemaCompiler(sourceDir, outputFile string) *SchemaCompiler
NewSchemaCompiler creates a new schema compiler
func (*SchemaCompiler) Compile ¶
func (c *SchemaCompiler) Compile() error
Compile finds all .graphql files and concatenates them into a single schema
func (*SchemaCompiler) CompileIfNeeded ¶
func (c *SchemaCompiler) CompileIfNeeded() (bool, error)
CompileIfNeeded compiles the schema only if source files are newer than output
Click to show internal directories.
Click to hide internal directories.