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

[DI] replace "nullable" env processor by improving the "default" one#30504

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

Merged
fabpot merged 1 commit intosymfony:masterfromnicolas-grekas:di-env-default-proc
Mar 10, 2019

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Neithernullable nordefault are released yet.
I propose to replace thenullable processor (see#29767) with an improveddefault one (from#28976).
%env(default::FOO)% now defaults tonull when the env var doesn't exist or compares to false".

ping@jderusse@bpolaszek

bpolaszek and ro0NL reacted with thumbs up emoji
@bpolaszek
Copy link
Contributor

But it was my 1st PR! 😥

(French contributors will remind "mais t'avais dit qu'on ferait des knacki!")

More seriously, that's a good idea 🙂 thank you@nicolas-grekas !

Copy link
Contributor

@ogizanagiogizanagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Great. I like this one much more :)

@nicolas-grekas
Copy link
MemberAuthor

@jderusse@bpolaszek would you mind sending a doc PR please? (see#10722)

@jderusse
Copy link
Member

done insymfony/symfony-docs#11127

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commitc50aad2 intosymfony:masterMar 10, 2019
fabpot added a commit that referenced this pull requestMar 10, 2019
… "default" one (nicolas-grekas)This PR was merged into the 4.3-dev branch.Discussion----------[DI] replace "nullable" env processor by improving the "default" one| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Neither `nullable` nor `default` are released yet.I propose to replace the `nullable` processor (see#29767) with an improved `default` one (from#28976).`%env(default::FOO)%` now defaults to `null` when the env var doesn't exist or compares to false".ping@jderusse@bpolaszekCommits-------c50aad2 [DI] replace "nullable" env processor by improving the "default" one
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull requestMar 11, 2019
…sse)This PR was merged into the master branch.Discussion----------Document Default env processor with null fallbackDocument the fallback to `null`PR:symfony/symfony#30504Commits-------309bd58 Document Default env processor with null fallback
@nicolas-grekasnicolas-grekas deleted the di-env-default-proc branchMarch 15, 2019 13:41
@nicolas-grekasnicolas-grekas modified the milestones:next,4.3Apr 30, 2019
@fabpotfabpot mentioned this pull requestMay 9, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@jderussejderussejderusse approved these changes

+2 more reviewers

@ro0NLro0NLro0NL approved these changes

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

7 participants

@nicolas-grekas@bpolaszek@jderusse@fabpot@ro0NL@ogizanagi@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp