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

[JsonStreamer] MergePropertyMetadata value transformers#61880

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

Open
mtarld wants to merge1 commit intosymfony:7.4
base:7.4
Choose a base branch
Loading
frommtarld:feat/json-streamer-property-metadata

Conversation

mtarld
Copy link
Contributor

QA
Branch?7.4
Bug fix?no
New feature?yes
Deprecations?no
Issues
LicenseMIT

This PR mergesPropertyMetadata::$streamToNativeValueTransformers andPropertyMetadata::$nativeToStreamValueTransformers toPropertyMetadata::$valueTransformers.

Indeed, as property metadata is computed in one way at the time (reading or writing), there is no benefit keeping a distinction between native to stream and stream to native.

@stof
Copy link
Member

Could this be implemented with a BC layer ?

The fact that the component is experimental in 7.3 allows us to do BC breaks in minor versions if needed, but I think this is a case where the BC layer is easy enough to implement. An immediate BC break is more costly for the ecosystem than a deprecation, so we should still prefer doing a deprecation.

mtarld reacted with thumbs up emoji

@mtarldmtarldforce-pushed thefeat/json-streamer-property-metadata branch 2 times, most recently from7417836 to24d593cCompareOctober 3, 2025 08:16
@mtarldmtarldforce-pushed thefeat/json-streamer-property-metadata branch from24d593c to219aa6dCompareOctober 3, 2025 08:26
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
7.4
Development

Successfully merging this pull request may close these issues.

3 participants
@mtarld@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp