Ecto-style option schema validation for DSL declarations.
Summary
Functions
Validate options and return normalized field data.
Validate options and raise ArgumentError with DSL-friendly messages on failure.
Types
@type return_shape() :: :map | :keyword
@type t() :: %DSL.Options{ fields: [DSL.Option.t()], name: atom(), return: return_shape() }
Functions
Validate options and return normalized field data.
Validate options and raise ArgumentError with DSL-friendly messages on failure.