-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(feature-flags): Sales Channels enabled by default #2966
Conversation
🦋 Changeset detectedLatest commit: 9212d14 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
…a into chore/sc-ff-default-value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, few comments to look at but nothing major
integration-tests/api/__tests__/store/__snapshots__/product-variants.js.snap
Show resolved
Hide resolved
await manager.insert(Product, { | ||
id: "test-product", | ||
title: "test product", | ||
profile_id: defaultProfile.id, | ||
options: [{ id: "test-option", title: "Size" }], | ||
}) | ||
|
||
await manager.query( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: should it be part of the product factory? we pass a sales channel and it creates the pivot along it if it is not managed by the ORM
@@ -44,6 +54,10 @@ module.exports = async (connection, data = {}) => { | |||
options: [{ id: "test-option-color", title: "Color" }], | |||
}) | |||
|
|||
await manager.query( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: same
await manager.insert(Product, { | ||
id: "test-product", | ||
title: "test product", | ||
profile_id: defaultProfile.id, | ||
options: [{ id: "test-option", title: "Size" }], | ||
}) | ||
|
||
await manager.query( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: same
No description provided.