shopify_graphql v1.2.0 Shopify.GraphQL.Config
Link to this section Summary
Functions
Build a config struct.
Link to this section Types
Link to this type
t()
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
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.