absinthe v1.1.5 Absinthe.Adapter.Passthrough

The default adapter, which makes no changes to incoming query document ASTs or outgoing results.

Summary

Functions

adapt(node, adaptation)

Callback implementation for Absinthe.Adapter.adapt/2.

dump_document(node)
dump_results(results)

Callback implementation for Absinthe.Adapter.dump_results/1.

format_error(error_info)

Callback implementation for Absinthe.Adapter.format_error/1.

format_error(error_info, locations)

Callback implementation for Absinthe.Adapter.format_error/2.

load_document(node)

Callback implementation for Absinthe.Adapter.load_document/1.

load_variables(variables)
to_external_name(internal_name, role)

Callback implementation for Absinthe.Adapter.to_external_name/2.

to_internal_name(external_name, role)

Callback implementation for Absinthe.Adapter.to_internal_name/2.