When we first split the JS iterator into a forEach and a forEachAsync, we missed a spot in putting the correct template for the sync version. See https://github.com/Clever/wag/pull/303 . You can compare the edited line to the (functional) lines a few lines above it.
Testing
(Internal Clever notes - hard to create an isolated reproduction) I checked out sd2 at commit ef6a858be - one before https://github.com/Clever/sd2/pull/7767 and reproduced FLARE-1630. Then I did the following:
Ran this branch of wag on app-view-service to generate a JS client
Copied that index.js file into sd2's node_modules
Tried the repro again
And the issue no longer reproduced (the desired behavior actually worked).
Jira
https://clever.atlassian.net/browse/INFRANG-6029
Overview
When we first split the JS iterator into a
forEach
and aforEachAsync
, we missed a spot in putting the correct template for the sync version. See https://github.com/Clever/wag/pull/303 . You can compare the edited line to the (functional) lines a few lines above it.Testing
(Internal Clever notes - hard to create an isolated reproduction) I checked out sd2 at commit ef6a858be - one before https://github.com/Clever/sd2/pull/7767 and reproduced FLARE-1630. Then I did the following:
And the issue no longer reproduced (the desired behavior actually worked).