View Source AbsintheQueryAll.Query (absinthe_query_all v0.2.0)

Summary

Functions

Generates a query string that requests every possible field and subfield.

Functions

Link to this function

comprehensive(config, options \\ [])

View Source

Generates a query string that requests every possible field and subfield.

Examples

iex> comprehensive(%{
...>   operation_type: :query,
...>   operation_name: :someQuery,
...>   schema: SomeAbsintheSchema
...> })
"query someQuery {

someQuery { someField: someField someOtherField: someOtherField } } "