Repository navigation
feat(sync-actions): support setSavedToLineItem for product type attribute definitions - #1983
Conversation
🦋 Changeset detectedLatest commit: bd69738 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1983 +/- ##
=======================================
Coverage 98.48% 98.48%
=======================================
Files 117 117
Lines 3032 3032
Branches 854 854
=======================================
Hits 2986 2986
Misses 42 42
Partials 4 4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
The narrowly scoped mapping follows the existing generation pattern, relevant transitions have test coverage, and static review identified no blocking issues.
No open issues 🎉
What changed in this PR
Adds support for generating setSavedToLineItem update actions for product type attribute definitions in @commercetools/sync-actions.
Changes:
- Adds
savedToLineItemto the attribute-definition action map. - Adds tests for boolean and undefined transitions and updates the action snapshot.
- Includes a minor-release changeset.
| File | Description |
|---|---|
packages/sync-actions/test/product-types-sync-attribute-hints.spec.js |
Tests action generation for savedToLineItem changes. |
packages/sync-actions/test/__snapshots__/product-types-sync-attribute-hints.spec.js.snap |
Includes the new action in the expected output. |
packages/sync-actions/src/product-types-actions.js |
Maps savedToLineItem changes to setSavedToLineItem. |
.changeset/quick-lines-save.md |
Documents the feature for a minor release. |
Review effort: Balanced
Summary
Description
savedToLineItemto the attribute-definition field map.true,falseandundefinedtransitions.Todo
Typelabel for the PR