class GraphQL::Schema::Warden::PassThruWarden

calls methods on this object, so it will have everything it needs.
The ‘context` arguments to these methods exist purely to simplify the code that
We want to call the schema’s hooks, but we don’t have a full-blown warden.
This is used when a caller provides a Hash for context.

def arguments(owner, ctx); owner.arguments(ctx); end

def arguments(owner, ctx); owner.arguments(ctx); end

def interface_type_memberships(obj_t, ctx); obj_t.interface_type_memberships; end

def interface_type_memberships(obj_t, ctx); obj_t.interface_type_memberships; end

def loadable?(type, ctx); type.visible?(ctx); end

def loadable?(type, ctx); type.visible?(ctx); end

def loadable_possible_types(type, ctx); type.possible_types(ctx); end

def loadable_possible_types(type, ctx); type.possible_types(ctx); end

def visibility_profile

def visibility_profile
  @visibility_profile ||= Warden::VisibilityProfile.new(self)
end

def visible_argument?(arg, ctx); arg.visible?(ctx); end

def visible_argument?(arg, ctx); arg.visible?(ctx); end

def visible_enum_value?(ev, ctx); ev.visible?(ctx); end

def visible_enum_value?(ev, ctx); ev.visible?(ctx); end

def visible_field?(field, ctx); field.visible?(ctx); end

def visible_field?(field, ctx); field.visible?(ctx); end

def visible_type?(type, ctx); type.visible?(ctx); end

def visible_type?(type, ctx); type.visible?(ctx); end

def visible_type_membership?(tm, ctx); tm.visible?(ctx); end

def visible_type_membership?(tm, ctx); tm.visible?(ctx); end