fix: missing exclude regulation price extension when encoding calculated price#14874
Merged
Phung Nguyen (rittou) merged 3 commits intotrunkfrom Feb 11, 2026
Conversation
|
OpenAPI SnapshotProject:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #14874 +/- ##
==========================================
+ Coverage 55.72% 55.83% +0.10%
==========================================
Files 2976 2976
Lines 91671 91678 +7
==========================================
+ Hits 51084 51188 +104
+ Misses 40587 40490 -97
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
72f6594 to
f6397af
Compare
…ion-when-encoding-calculated-price
Vin Le (vienthuong)
approved these changes
Feb 10, 2026
Tam Vo (tamvt)
approved these changes
Feb 11, 2026
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. Why is this change necessary?
This pull request adds support for handling the
RegulationPriceproperty in theCalculatedPriceFieldSerializer, ensuring it is properly encoded and decoded alongside existing price properties.2. What does this change do, exactly?
Fix to CalculatedPrice serialization:
RegulationPricestruct inCalculatedPriceFieldSerializer.php, ensuring it is included during both encoding and decoding processes [1] [2].encodemethod to stripextensionsfrom theregulationPricefield, similar to how it's done forlistPrice.3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist
RELEASE_INFO-6.<major>.mdunder “Upcoming” for informational changes, including the consequences of the change and how it affects external developers.UPGRADEsection inUPGRADE-6.<next-major>.mdfor breaking changes (what/why/impact/how to adapt).