Module: Railsmith::BaseService::InputResolverHelpers

Included in:
InputResolver
Defined in:
lib/railsmith/base_service/input_resolver.rb

Overview

Orchestrates the full input-processing pipeline for a single service call:

Raw params
  → Apply defaults       (fill missing keys with declared defaults)
  → Coerce types         (String → Integer, etc.)
  → Validate required    (missing required fields → validation_error)
  → Validate allowed     (in: constraint violations → validation_error)
  → Apply transforms     (optional post-coercion Proc)