Sha256: a3192ad5f90d743594ffaeafa888c84c8b741fd26af733ef1b7ff1403fd8bb25
Contents?: true
Size: 657 Bytes
Versions: 8
Compression:
Stored size: 657 Bytes
Contents
require 'active_support/concern' require 'active_support/core_ext/class/attribute' require_relative '../../../input_types/base_comparison_input_type' monkey_patch = Module.new do extend ActiveSupport::Concern class_methods do def comparison_input_type new_comparison_input_type=nil if new_comparison_input_type.present? @comparison_input_type = new_comparison_input_type else @comparison_input_type ||= get_comparison_input_type end end protected def get_comparison_input_type GraphQL::Filters::InputTypes::BaseComparisonInputType end end end GraphQL::Schema::Member.prepend monkey_patch
Version data entries
8 entries across 8 versions & 1 rubygems