Current section

Files

Jump to
absinthe lib absinthe execution resolution object.ex
Raw

lib/absinthe/execution/resolution/object.ex

defimpl Absinthe.Execution.Resolution, for: Absinthe.Type.Object do
alias Absinthe.Execution.Resolution
def resolve(object_type, %{resolution: %{ast_node: %{selection_set: selection_set}, target: target}} = execution) do
deeper_resolution = %Resolution{type: object_type, target: target}
Resolution.resolve(
selection_set,
%{execution | resolution: deeper_resolution}
)
end
end