Skip to content

Commit

Permalink
Update error message to link to repo
Browse files Browse the repository at this point in the history
Co-authored-by: Bart de Water <[email protected]>
  • Loading branch information
sambostock and bdewater authored Nov 9, 2022
1 parent 2148613 commit b08eff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/job-iteration/iteration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def assert_valid_cursor!(cursor)
Deprecation.warn(<<~DEPRECATION_MESSAGE, caller_locations(3))
The Enumerator returned by #{self.class.name}#build_enumerator yielded a cursor which is unsafe to serialize.
TBD MENTION SERIALIZERS!
See https://github.com/Shopify/job-iteration/blob/main/guides/custom-enumerator.md#cursor-types
This will raise starting in version #{Deprecation.deprecation_horizon} of #{Deprecation.gem_name}!"
DEPRECATION_MESSAGE
Expand Down

0 comments on commit b08eff9

Please sign in to comment.