Sha256: e70cf3be4aae6bdf443e10a40e7d2b1264527242dae1df9434e0fca94e9dbf0c

Contents?: true

Size: 366 Bytes

Versions: 10

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

require 'dry/schema/processor'

module Dry
  module Schema
    # Params schema type
    #
    # @see Processor
    # @see Schema#Params
    #
    # @api public
    class Params < Processor
      config.key_map_type = :stringified
      config.type_registry_namespace = :params
      config.filter_empty_string = true
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dry-schema-1.4.3 lib/dry/schema/params.rb
dry-schema-1.4.2 lib/dry/schema/params.rb
dry-schema-1.4.1 lib/dry/schema/params.rb
dry-schema-1.4.0 lib/dry/schema/params.rb
dry-schema-1.3.4 lib/dry/schema/params.rb
dry-schema-1.3.3 lib/dry/schema/params.rb
dry-schema-1.3.2 lib/dry/schema/params.rb
dry-schema-1.3.1 lib/dry/schema/params.rb
dry-schema-1.3.0 lib/dry/schema/params.rb
dry-schema-1.2.0 lib/dry/schema/params.rb