Back to

Package root

Latest Go to latest

The highest tagged major version is .

Published: Mar 29, 2020 | License: Apache-2.0 | Module:


Package root implements GraphQL root resolvers required by the GraphQL transport layer


func NewRootResolver

func NewRootResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger) (types.RootResolverContract, error)

NewRootResolver creates new instance of the rootResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers logger: Mandatory. Reference to the logger service Returns the new instance or error if something goes wrong

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier