lib/graphql/schema/interface.rb
def visible?(context)
          context.schema.possible_types(self).each do |type|
            if context.schema.visible?(type, context)
              return true
            end
          end
          false
        end
# The interface is visible if any of its possible types are visible
The interface is visible if any of its possible types are visible
The interface is visible if any of its possible types are visible
def visible?(context)
          context.schema.possible_types(self).each do |type|
            if context.schema.visible?(type, context)
              return true
            end
          end
          false
        end
def visible? ( context ) context . schema . possible_types ( self ) . each do | type | if context . schema . visible? ( type , context ) return true end end false end
The interface is visible if any of its possible types are visible
The interface is visible if any of its possible types are visible
context