-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: awaited recursive createHandle call #6496 #6563
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
fix: awaited recursive createHandle call #6496 #6563
Conversation
🦋 Changeset detectedLatest commit: d67d2c4 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 |
@smriti0710 you need to sign-off the commit in order for us to review it/merge it https://github.com/reactioncommerce/reaction/pull/6563/checks?check_run_id=8897369421 |
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
if the amount was zero then node.amount would return false, hence changed the check to check for undefined. Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Test case added while creating the surcharge with amount 0 and undefined Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
e0032c7
to
5bf870b
Compare
@delagroove signed off the commit. |
@smriti0710 you need to add a changeset to bump the package. A bug fix would be a "patch" level change |
…//github.com/smriti0710/reaction into issue-6496-await-recursive-createHandle-call
…eTagsFromProducts events Signed-off-by: vishalmalu <vishal.malu@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: vishalmalu <vishal.malu@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
if the amount was zero then node.amount would return false, hence changed the check to check for undefined. Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Test case added while creating the surcharge with amount 0 and undefined Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Test case added while creating the surcharge with amount 0 and undefined Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Shwetha Shashidhara <shwethaks263@gmail.com> Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
Signed-off-by: Smriti Prakash <smriti_prakash@intuit.com>
…//github.com/smriti0710/reaction into issue-6496-await-recursive-createHandle-call
Please ignore this PR. Created a new one with the fix : #6565 |
Resolves #6496
Impact: minor
Type: bugfix
Issue
createHandle is a recursive function to determine an available product handle.
It is async due to the database queries which need to be awaited.
The recursive call should be awaited aswell
Solution
Await createHandle.