Skip to main content

ShapeDB Resolver

There are also ShapeDB-specific resolvers that allow you to execute common CRUD actions on model-annotated shapes.


name​

Type​

string!

Values​

  • shapedb:get
  • shapedb:list
  • shapedb:create
  • shapedb:update
  • shapedb:delete
  • shapedb:duplicate
  • shapedb:find

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.


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.