Skip to content

Params namespace disapearing #422

Open
@sdalu

Description

Describe the bug

It is not possible to add new type definition in the Params namespace of included Types() using the following construction,
(it is certainly the same for Coercible, ...)

To Reproduce

module Types
  include Dry.Types()
  
  module Params
    PageSize = Types::Params::Integer
  end
end

Getting:

(irb):39:in `module:Params’: uninitialized constant Types::Params::Integer (NameError)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions