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] Doctrine Connection find and findAll now correctly decode headers#31966

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:4.3fromTimoBakx:messenger-doctrine-find
Jun 26, 2019
Merged

[Messenger] Doctrine Connection find and findAll now correctly decode headers#31966

fabpot merged 1 commit intosymfony:4.3fromTimoBakx:messenger-doctrine-find
Jun 26, 2019

Conversation

@TimoBakx
Copy link
Member

QA
Branch?4.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#31916
LicenseMIT
Doc PRN/A

The Doctrine transportConnection class methodsfind andfindAll did not JSON-decode the headers of the envelope after retrieving it from Doctrine. Theget method, however, did this correctly.

I added two tests to verify the results offind andfindAll and then added the JSON-decoding to theConnection class. I moved the JSON-decoding to a separate method to avoid duplicate code.

@fabpot
Copy link
Member

Thank you@TimoBakx.

TimoBakx reacted with heart emoji

@fabpotfabpot merged commit3aec2ac intosymfony:4.3Jun 26, 2019
fabpot added a commit that referenced this pull requestJun 26, 2019
…ctly decode headers (TimoBakx)This PR was merged into the 4.3 branch.Discussion----------[Messenger] Doctrine Connection find and findAll now correctly decode headers| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#31916| License       | MIT| Doc PR        | N/AThe Doctrine transport `Connection` class methods `find` and `findAll` did not JSON-decode the headers of the envelope after retrieving it from Doctrine. The `get` method, however, did this correctly.I added two tests to verify the results of `find` and `findAll` and then added the JSON-decoding to the `Connection` class. I moved the JSON-decoding to a separate method to avoid duplicate code.Commits-------3aec2ac [Messenger] Doctrine Connection find and findAll now correctly decode headers
@TimoBakx
Copy link
MemberAuthor

Thanks for merging my first ever PR to the Symfony code. And thank you@sroze for your review.

@fabpot
Copy link
Member

Congrats on your first PR! I did not realize it was your first.

@fabpotfabpot mentioned this pull requestJun 26, 2019
@TimoBakxTimoBakx deleted the messenger-doctrine-find branchJune 28, 2019 09:51
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@srozesrozesroze left review comments

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.

5 participants

@TimoBakx@fabpot@sroze@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp