function
GenerateSDL
func GenerateSDL(
manifest schema.Manifest,
options ...Options,
) (string, error)Generate deterministic SDL without starting an application or enabling network introspection.
Source plugins/graphql/sdl.go:16
Example
sdl, err := graphql.GenerateSDL(app.Manifest(), graphql.Options{
AllowIntrospection: false,
})