Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[OptionsResolver] Trigger a deprecated option message closure from other options#38293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@fancyweb
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?yes
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

Ref#37837

The idea is that some other options might need to trigger the execution of a deprecated option message \Closure. See the referenced PR for an example.

When a deprecated option logic involves other values, instead of having to deprecate all those options one by one to account for all the possible scenarios, we would only need to deprecate one and declare its "closure trigger options".

@fancywebfancywebforce-pushed theoptions-resolver-deprecated-closure-trigger-options branch fromc5c4227 to2a69820CompareSeptember 24, 2020 16:35
@nicolas-grekasnicolas-grekas added this to thenext milestoneSep 25, 2020
@nicolas-grekas
Copy link
Member

Closing as discussed on Slack: this is too much of an edge case and there is already a way to make this work, with some logic in the closure.

@fancywebfancyweb deleted the options-resolver-deprecated-closure-trigger-options branchSeptember 25, 2020 15:48
@nicolas-grekasnicolas-grekas modified the milestones:next,5.2Oct 5, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

3 participants

@fancyweb@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp