-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure cursor is converted into integer as needed
To ensure #339's change to string cursors can occur smoothly, we ensure we always convert the cursor into an integer when needed. Specifically, the Array and CSV cursors MUST be integers when forwarded to JobIteration's enumerator builders, or things break. The ActiveRecord enumerator builder handles the conversion gracefully. This should allow consumers to perform the cursor schema change from bigint to string without worrying about stale code blowing up.
- Loading branch information
1 parent
8ef283d
commit b777f71
Showing
2 changed files
with
38 additions
and
2 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
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