Class: GraphQL::Filter::MergedExcept Private

Inherits:
MergedOnly show all
Defined in:
lib/graphql/filter.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods inherited from MergedOnly

build, #initialize

Constructor Details

This class inherits a constructor from GraphQL::Filter::MergedOnly

Instance Method Details

#call(member, ctx) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


48
49
50
# File 'lib/graphql/filter.rb', line 48

def call(member, ctx)
  @first.call(member, ctx) || @second.call(member, ctx)
end