Method: GraphQL::Testing::Helpers::FieldNotVisibleError#initialize
- Defined in:
- lib/graphql/testing/helpers.rb
#initialize(type_name:, field_name:) ⇒ FieldNotVisibleError
Returns a new instance of FieldNotVisibleError.
22 23 24 25 |
# File 'lib/graphql/testing/helpers.rb', line 22 def initialize(type_name:, field_name:) = "`#{type_name}.#{field_name}` should be `visible?` for this resolution, but it was not" super() end |