README ¶ GraphQL The preconfigured graphql.Schema provides root objects for Query, Mutation and Subscription. app := fx.New( env.Module, logrus.Module, graphql.Module, fx.Invoke(func(schema *graphql.Schema) { // use schema here }), ) app.Run() Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables Constants ¶ This section is empty. Variables ¶ View Source var Module = fx.Options( fx.Provide( fx.Annotated{ Name: "query", Target: newGraphQlQuery, }, fx.Annotated{ Name: "mutation", Target: newGraphQlMutation, }, fx.Annotated{ Name: "subscription", Target: newGraphQlSubscribtion, }, newGraphQlSchema, ), ) Functions ¶ This section is empty. Types ¶ This section is empty. Source Files ¶ View all Source files graphql.go module.go Click to show internal directories. Click to hide internal directories.