---
title: "Feature: #108227 - Allow #[IgnoreValidation] and #[Validate] attributes for method parameters"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-108227-1763667558"
source: "Changelog/14.0/Feature-108227-AllowIgnoreValidationAndValidateAttributesAtControllerActionMethodParameters.rst"
typo3-version: "14.0"
typo3-major: 14
type: "feature"
issue: 108227
forge: "https://forge.typo3.org/issues/108227"
tags: ["Frontend", "PHP-API", "ext:extbase"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #108227 - Allow `#[IgnoreValidation]` and `#[Validate]` attributes for method parameters {#feature-108227-1763667558}

See [forge#108227](https://forge.typo3.org/issues/108227)

## Description {#description}

The Extbase attributes `#[IgnoreValidation]` and `#[Validate]` can
now be used for controller action method parameters.

This extends the current validation behavior of these attributes, where either
(1) the complete method or (2) a single parameter is taken into account for
validation. While this works fine for (1), using these attributes in context
of (2) raises some concerns regarding

1.  duplication of parameter names,
1.  validation of the existence of a configured parameter, and
1.  unnecessary complexity regarding reflection-based handling of these
    parameters.

### History {#history}

When the attributes were originally implemented as Doctrine annotations, the
only possible way to implement behavior (2) was to add the appropriate
annotation to the method-related annotation.

Since [forge#107229](https://forge.typo3.org/issues/107229), annotations are no longer used in Extbase, and PHP
attributes are the only remaining successor in this area. Since PHP attributes
support placement at specific method parameters, the existing attributes can
safely rewritten to be placed (1) at a specific method or (2) at a specific
method parameter.

### Usage with method parameters {#usage-with-method-parameters}

The capabilities of the existing attributes are expanded to allow placement at
method parameters as well. The previous behavior (defining validation-related
behavior at method level using the existing attribute properties) is now
deprecated and will be removed with TYPO3 v15
(see [deprecation notice](https://docs.typo3.org/permalink/changelog:deprecation-108227-1763668119)).

## Impact {#impact}

By allowing the usage of both `#[IgnoreValidation]` and `#[Validate]`
attributes at method parameter level, the previous error-prone behavior is
now hardened. In addition, this change improves developer experience and pushes
the Extbase ecosystem towards a modernized architecture.

All installations using these attributes on method level need to migrate these as
described in the related section of
[Deprecation #108227 - Migration](https://docs.typo3.org/permalink/changelog:deprecation-108227-1763668119-migration).
