GitHub

DaffApolloHeaderProvider

Type

import { DaffApolloHeaderProvider } from '@daffodil/core/graphql'

A function that returns a dict of headers to set on the Apollo GraphQL request. This function is run in an injection context.

type DaffApolloHeaderProvider = () => Record<string, string>