absinthe v1.5.0-beta.0 Absinthe.Middleware.PassParent View Source
Middleware that just passes the parent down to the children.
This is the default resolver for subscription fields.
Link to this section Summary
Functions
This is the main middleware callback.
Link to this section Functions
Link to this function
call(res, _) View Source
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 middleware
call that setup the middleware.
Callback implementation for Absinthe.Middleware.call/2
.