Skip to main content

utility

delegate Resolver

A resolver which delegates to another query, mutation, or property. This enables complex resolver mappings to be reused throughout the schema while maintaining a DRYer schema.


name

Type

string!

Values

  • delegate

to

Type

string!

Description

A reference to a property, query, or mutation to delegate to. For example Query.getPostList or stripe:Query.listProducts.


args

Type

ParameterConfig?


results

Type

ParameterConfig?


Misc Resolvers

Some simple utilities. Mostly for internal use and debugging.


name

Type

string!

Values

  • debug:noop
  • util:wrap