Sha256: 98f995cb1fb678577304d89c914c578d942979115d71d7f485e8ceea16f3330c

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 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 = config.type_registry.namespaced(:params)
      config.filter_empty_string = true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-schema-1.1.0 lib/dry/schema/params.rb