lib/rails/graphql/request/component/field.rb
# When the field is invalid, there's no much to do
# TODO: Maybe add a invalid event trigger here
When the field is invalid, there's no much to do
TODO: Maybe add a invalid event trigger here
When the field is invalid there ' s no much to do TODO : Maybe add a invalid event trigger here
def resolve_invalid(error = nil)
          request.exception_to_error(error, @node) if error.present?
          validate_output!(nil)
          response.safe_add(gql_name, nil)
        rescue InvalidValueError
          raise unless entry_point?
        end
def resolve_invalid ( error = nil ) request . exception_to_error ( error , @node ) if error . present? validate_output! ( nil ) response . safe_add ( gql_name , nil ) rescue InvalidValueError raise unless entry_point? end
When the field is invalid, there's no much to do
TODO: Maybe add a invalid event trigger here
When the field is invalid there ' s no much to do TODO : Maybe add a invalid event trigger here
error