Sha256: 097fc1d87c1786ac9b04711236a25bc2583a5a0b5b404700b860a580ac947764

Contents?: true

Size: 346 Bytes

Versions: 174

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true
module GraphQL
  module Define
    # Turn argument configs into a {GraphQL::Argument}.
    module AssignArgument
      def self.call(target, *args, **kwargs, &block)
        argument = GraphQL::Argument.from_dsl(*args, **kwargs, &block)
        target.arguments[argument.name] = argument
      end
    end
  end
end

Version data entries

174 entries across 174 versions & 2 rubygems

Version Path
graphql-1.13.23 lib/graphql/define/assign_argument.rb
graphql-1.13.22 lib/graphql/define/assign_argument.rb
graphql-1.13.21 lib/graphql/define/assign_argument.rb
graphql-1.13.20 lib/graphql/define/assign_argument.rb
graphql-1.13.19 lib/graphql/define/assign_argument.rb
graphql-1.13.18 lib/graphql/define/assign_argument.rb
graphql-1.13.17 lib/graphql/define/assign_argument.rb
graphql-1.13.16 lib/graphql/define/assign_argument.rb
graphql-1.13.15 lib/graphql/define/assign_argument.rb
graphql-1.13.14 lib/graphql/define/assign_argument.rb
graphql-1.13.13 lib/graphql/define/assign_argument.rb
graphql_cody-1.13.0 lib/graphql/define/assign_argument.rb
graphql-1.13.12 lib/graphql/define/assign_argument.rb
graphql-1.13.11 lib/graphql/define/assign_argument.rb
graphql-1.13.10 lib/graphql/define/assign_argument.rb
graphql-1.13.9 lib/graphql/define/assign_argument.rb
graphql-1.12.24 lib/graphql/define/assign_argument.rb
graphql-1.13.8 lib/graphql/define/assign_argument.rb
graphql-1.13.7 lib/graphql/define/assign_argument.rb
graphql-1.13.6 lib/graphql/define/assign_argument.rb