Sha256: bb3c87cccce0180713b113073c57dcdcd451a4c1fdf95bb5cc6aedbfe3b0e29a

Contents?: true

Size: 375 Bytes

Versions: 8

Compression:

Stored size: 375 Bytes

Contents

require 'active_support/concern'
require_relative '../../../input_types/base_scalar_comparison_input_type'

monkey_patch = Module.new do
  extend ActiveSupport::Concern

  class_methods do
  protected

    def get_comparison_input_type(*)
      GraphQL::Filters::InputTypes::BaseScalarComparisonInputType[self]
    end
  end
end

GraphQL::Schema::Scalar.prepend monkey_patch

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
graphql-filters-1.0.7 lib/graphql/filters/dsl/graphql/schema/scalar.rb
graphql-filters-1.0.6 lib/graphql/filters/dsl/graphql/schema/scalar.rb
graphql-filters-1.0.5 lib/graphql/filters/dsl/graphql/schema/scalar.rb
graphql-filters-1.0.4 lib/graphql/filters/dsl/graphql/schema/scalar.rb
graphql-filters-1.0.3 lib/graphql/filters/dsl/graphql/schema/scalar.rb
graphql-filters-1.0.2 lib/graphql/filters/dsl/graphql/schema/scalar.rb
graphql-filters-1.0.1 lib/graphql/filters/dsl/graphql/schema/scalar.rb
graphql-filters-1.0.0 lib/graphql/filters/dsl/graphql/schema/scalar.rb