GraphQL v0.3.0 GraphQL.Lang.AST.PostprocessingVisitor protocol
A Visitor that implements this protocol will have the opportunity to transform the accumulator into something more consumer friendly. It can often be the case that the working form of the accumulator is not what should be returned from ASTReducer.reduce/3.
This also means that the accumulator (always a Map) can be transformed into an arbitrary struct or other Erlang/Elixir type.
The fallback implementation returns the accumulator untouched.
Summary
Functions
Invoked once after traversal ends. This can be used to transform the accumulator into an arbitrary value
Types
t :: term