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

[Messenger] Fix collecting messages#29196

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
nicolas-grekas merged 1 commit intosymfony:masterfromro0NL:messenger
Nov 14, 2018
Merged

[Messenger] Fix collecting messages#29196

nicolas-grekas merged 1 commit intosymfony:masterfromro0NL:messenger
Nov 14, 2018

Conversation

@ro0NL
Copy link
Contributor

QA
Branch?master
Bug fix?yes
New feature?no
BC breaks?no-ish
Deprecations?no
Tests pass?yes
Fixed tickets#...
LicenseMIT
Doc PRsymfony/symfony-docs#...

In 4.2 there's always one dispatched message because we provide the template with a generator. Calling{{ gen|length }} always returns1

Before

image

After

image

OskarStark and skalpa reacted with thumbs up emoji
}

publicfunctiongetMessages(string$bus =null):iterable
publicfunctiongetMessages(string$bus =null):array
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

getMessages() in 4.1

publicfunctiongetMessages(string$bus =null):array

Choose a reason for hiding this comment

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

why change? the BC break is allowed and the new interface better, don't you think?

Choose a reason for hiding this comment

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

OH, in order to "count" on the result. OK.

@nicolas-grekas
Copy link
Member

Thank you@ro0NL.

@nicolas-grekasnicolas-grekas merged commitbfc7d94 intosymfony:masterNov 14, 2018
nicolas-grekas added a commit that referenced this pull requestNov 14, 2018
This PR was merged into the 4.2-dev branch.Discussion----------[Messenger] Fix collecting messages| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no-ish| Deprecations? | no| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->In 4.2 there's always one dispatched message because we provide the template with a generator. Calling `{{ gen|length }}` always returns `1`Before![image](https://user-images.githubusercontent.com/1047696/48368788-f0028980-e6b4-11e8-91b0-54f755b9fb93.png)After![image](https://user-images.githubusercontent.com/1047696/48368817-0ad4fe00-e6b5-11e8-8215-54bfdb307c47.png)Commits-------bfc7d94 [Messenger] Fix collecting messages
@ro0NLro0NL deleted the messenger branchNovember 14, 2018 10:25
@fabpotfabpot mentioned this pull requestNov 16, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@OskarStarkOskarStarkOskarStark approved these changes

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

5 participants

@ro0NL@nicolas-grekas@OskarStark@ogizanagi@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp