Skip to content

1.1.0

Latest

Choose a tag to compare

@koriym koriym released this 02 May 05:39

Added

  • Native validation for #[Input] array and #[Input] array|null parameters before invoking constructors or methods.
  • Ray\InputQuery\Exception\InvalidInputTypeException with structured context for input parameter type errors.

Fixed

  • #[Input(item: ...)] array now rejects scalar containers and invalid items instead of silently normalizing them or leaking TypeError.

Compatibility

  • Existing public method signatures are unchanged.
  • Invalid scalar values for native array input are now reported with InvalidInputTypeException.