lib/rails/graphql/field.rb
def to_proxy(*args, **xargs, &block)
        proxy = self.class.allocate
        proxy.extend Field::ProxiedField
        proxy.send(:proxied)
        proxy.send(:initialize, self, *args, **xargs, &block)
        proxy
      end
# Create a proxy of the current field
Create a proxy of the current field
Create a proxy of the current field
def to_proxy(*args, **xargs, &block)
        proxy = self.class.allocate
        proxy.extend Field::ProxiedField
        proxy.send(:proxied)
        proxy.send(:initialize, self, *args, **xargs, &block)
        proxy
      end
def to_proxy ( * args , ** xargs , & block ) proxy = self . class . allocate proxy . extend Field :: ProxiedField proxy . send ( :proxied ) proxy . send ( :initialize , self , * args , ** xargs , & block ) proxy end
Create a proxy of the current field
Create a proxy of the current field
args
xargs
block