Shopify.GraphQL.Config (shopify_graphql v1.5.1)
Link to this section Summary
Functions
Build a config struct.
Link to this section Types
Specs
t() :: %Shopify.GraphQL.Config{ access_token: String.t(), endpoint: String.t(), headers: [{String.t(), any()}], host: String.t(), http_client: module(), http_client_opts: any(), json_codec: module(), limiter: atom() | boolean(), limiter_opts: Keyword.t(), path: String.t(), port: String.t(), protocol: String.t(), retry: boolean(), retry_opts: Keyword.t(), shop: String.t(), version: String.t() }
Link to this section Functions
Link to this function
new(overrides \\ %__MODULE__{})
Specs
Build a config struct.
Config is composed of values provided through application configuration and a map of optional overrides. If overrides are provided they will be merged with the application configuration.