Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Form][OptionResolver] Support of OptionResolver 2.6 API in AbstractType #12782

Copy link
Copy link
Closed
@peterrehm

Description

@peterrehm
Issue body actions

I have just tried the upgrade of an application to 2.6 and followed the upgrade document.

I noticed that there were major changes in the OptionResolver component with the depreciation
of the OptionResolverInterface. This was well documented in the OptionResolver documentation.

However it looks like there is no upgrade path for form classes extending the AbstractType since
the interface requires the OptionResolverInterface. I think we should offer an upgrade path to get
rid of the depreciation warnings. Will the AbstractType setDefaultOptions be changed in 3.0 or will
there be a new method?

@webmozart Or am I missing something?

Related symfony/symfony-docs#4159 #12156

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.