Method: Dry::Types::Compiler#visit_params_hash

Defined in:
lib/dry/types/compiler.rb

#visit_params_hash(node) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



85
86
87
88
# File 'lib/dry/types/compiler.rb', line 85

def visit_params_hash(node)
  keys, meta = node
  registry["params.hash"].schema(keys.map { |key| visit(key) }, meta)
end