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

[Serializer] fix default context in Serializer#59552

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

Valmonzo
Copy link
Contributor

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix#58628
LicenseMIT

Bug fix approach for#58889

Copy link
Member

@chalasrchalasr left a comment

Choose a reason for hiding this comment

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

Maybe just make the method non-internal or even keep it as is on 7.3, instead of making it a constructor parameter as proposed in#58889.

Valmonzo reacted with thumbs up emoji
*
* @param array<string, mixed> $defaultContext
*/
public function setDefaultContext(array $defaultContext): void

Choose a reason for hiding this comment

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

this should be added as a constructor argument to me

Choose a reason for hiding this comment

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

I prefer the approach in#58889.

Valmonzo reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

It looks cleaner for me too. Should I add more details to say that it's a fix up to 7.3?

Copy link
Member

Choose a reason for hiding this comment

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

Shall we merge this as a bugfix for branches up to 7.3?

@nicolas-grekas
Copy link
Member

Closing in favor of#58889 (which should target 6.4 now)

Valmonzo reacted with thumbs up emoji

@ValmonzoValmonzo deleted the fix/serializer-default-context-as-internal branchJanuary 28, 2025 18:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@chalasrchalasrchalasr approved these changes

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@Valmonzo@nicolas-grekas@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp