View Source Absinthe.Adapter.Underscore (absinthe v1.7.9)

Underscores external input and leaves external input alone. Unlike the Absinthe.Adapter.Passthrough this does not break introspection (because introspection relies on underscoring incoming introspection queries which we still do).

Summary

Functions

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.