GraphQL binding spec

To setup GraphQL binding create a component of type . See this guide on how to create and apply a binding configuration. To separate normal config settings (e.g. endpoint) from headers, “header:” is used a prefix on the header names.

Warning

The GraphQL binding uses GraphQL client internally.

  • query
  • mutation

query

The query operation is used for statements, which returns the metadata along with data in a form of an array of row values.

  1. in := &dapr.InvokeBindingRequest{
  2. Name: "example.bindings.graphql",
  3. }