absinthe v1.3.0-beta.1 Absinthe.Middleware.MapGet

This is the default middleware.

Summary

Functions

This is the main middleware callback

Functions

call(res, key)

This is the main middleware callback.

It receives an %Absinthe.Resolution{} struct and it needs to return an %Absinthe.Resolution{} struct. The second argument will be whatever value was passed to the plug call that setup the middleware.

Callback implementation for Absinthe.Middleware.call/2.