Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Latest commit

History

History
30 lines (20 loc) 路 1.08 KB

Breaking-RemoveDeprecatedValidationData.rst

File metadata and controls

30 lines (20 loc) 路 1.08 KB

Breaking: Remove validation data component

Description

Validation data is an old concept: managing form data from inside a validator is an anti-pattern.

Upcoming middlewares feature (coming in a next patch) will allow better flexibility and replace this feature.

Impact

The functionality has been entirely removed and the following methods can't be used anymore:

Migration

You might set up your own service class which can be used to manipulate data between two validators.

An upcoming patch will introduce persistence for forms, and allow storing arbitrary data in database.