DatoCMS.GraphQLClient.Backends.StandardClient (datocms_graphql_client v0.14.8)

A basic client for DatoCMS GraphQL requests

Link to this section Summary

Link to this section Functions

Link to this function

configuration(options \\ [])

Link to this function

configure(options \\ [])

Link to this function

do_fetch_all(key, paginated, params, options)

Link to this function

fetch(key, query_body, params \\ %{}, options \\ [])

Link to this function

fetch!(key, query, params \\ %{}, options \\ [])

Link to this function

fetch_all(key, query, params \\ %{}, options \\ [])

Link to this function

fetch_all!(key, query, params \\ %{}, options \\ [])

Link to this function

fetch_all_localized(key, locale, query, params \\ %{}, options \\ [])

Link to this function

fetch_all_localized!(key, locale, query, params \\ %{}, options \\ [])

Link to this function

fetch_localized(key, locale, query, params \\ %{}, options \\ [])

Link to this function

fetch_localized!(key, locale, query, params \\ %{}, options \\ [])

Link to this function

fetch_query(key, query)

Link to this function

query(query, params \\ %{}, options \\ [])

  • params - an optional Map of query parameters
  • options - an optional Keyword of options which are passed on to Neuron
    • url - the endpoint (must be set here, or via configure/1)
    • headers - a keyword of request headers
Link to this function

query!(query, params \\ %{}, options \\ [])