Skip to main content

TakeShape Resolver

TakeShape resolvers are primarily internal-use only.


name

Type

string!

Values

  • takeshape:queryApiIndex
  • takeshape:search
  • takeshape:getUser

shapeName

Type

string!

Description

The name of the Shape this resolver should act upon. The Shape indicated must contain a shape.model property.


options

The options object contains configuration specific to the type of resolver you select.


indexedShape

Type

string!

Description

Used only in the takeshape:queryApiIndex resolver.


args

Type

ParameterConfig?

Description

Allows mapping from the QueryContext to the args values (input arguments) for the resolver. Results are not serialized. For more information read about the ParameterConfig.


results

Type

ParameterConfig?

Description

Allows mapping from the QueryContext to the results for the resolver step in a ComposeResolver or whole query. Results are not serialized. For more information read about the ParameterConfig.