module GraphQL::Schema::Member::HasAstNode

def ast_node(new_ast_node = nil)

this is the AST node that defined this part of the schema.
If this schema was parsed from a `.graphql` file (or other SDL),
def ast_node(new_ast_node = nil)
  if new_ast_node
    @ast_node = new_ast_node
  elsif defined?(@ast_node)
    @ast_node
  else
    nil
  end
end