-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds batching to the Iterable Create or Update User destination (#2343)
* Adds a performBatch method to the Iterable updateUser destination. Refactors some of the payload transformation code from the perform method, to be reused in the performBatch. * Adds enable_batching and batch_size to the action definition field list. (Disabled and 500 by default, respectively, with only the former being visible/configurable.) Re-generates types. * Re-generates Jest snapshots following changes for Iterable updateUser batch support
- Loading branch information
Showing
5 changed files
with
212 additions
and
107 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,13 @@ | |
|
||
exports[`Testing snapshot for Iterable's updateUser destination action: all fields 1`] = ` | ||
Object { | ||
"batch_size": -19733782860922.88, | ||
"dataFields": Object { | ||
"phoneNumber": "^qMtTUbd*oM", | ||
"testType": "^qMtTUbd*oM", | ||
}, | ||
"email": "[email protected]", | ||
"enable_batching": true, | ||
"mergeNestedObjects": true, | ||
"userId": "^qMtTUbd*oM", | ||
} | ||
|
This file contains 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
8 changes: 8 additions & 0 deletions
8
packages/destination-actions/src/destinations/iterable/updateUser/generated-types.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.