Sha256: a5161e7e7286f27234501565389218caa97f7b55200ea0773cd42c6ce4039a6f

Contents?: true

Size: 200 Bytes

Versions: 2

Compression:

Stored size: 200 Bytes

Contents

class GraphQL::ArgumentDefiner
  include Singleton

  def build(type:, desc: "", default_value: nil)
    GraphQL::InputValue.new(type: type, description: desc, default_value: default_value)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-0.3.0 lib/graph_ql/definition_helpers/argument_definer.rb
graphql-0.2.0 lib/graph_ql/types/argument_definer.rb