lib/rails/graphql/type_map.rb
def hard_reset!
        remove_instance_variable(:@checkpoint) if defined?(@checkpoint)

        reset!
        base_classes.each_key do |base_class|
          GraphQL.const_get(base_class).descendants.each(&:register!)
        end
      end
# This will do a full reset of the type map, re-registering all the
# descendant classes for all the base classes
This will do a full reset of the type map, re-registering all the
descendant classes for all the base classes
This will do a full reset of the type map re - registering all the descendant classes for all the base classes
def hard_reset!
        remove_instance_variable(:@checkpoint) if defined?(@checkpoint)
        reset!
        base_classes.each_key do |base_class|
          GraphQL.const_get(base_class).descendants.each(&:register!)
        end
      end
def hard_reset! remove_instance_variable ( :@checkpoint ) if defined? ( @checkpoint ) reset! base_classes . each_key do | base_class | GraphQL . const_get ( base_class ) . descendants . each ( & :register! ) end end
This will do a full reset of the type map, re-registering all the
descendant classes for all the base classes
This will do a full reset of the type map re - registering all the descendant classes for all the base classes