You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: Stripe::SearchResultObject#_search is deprecated; use request_stripe_object instead. It will be removed on or after 2024-01.
Stripe::SearchResultObject#_search called from /Users/vesa/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/stripe-10.7.0/lib/stripe/search_result_object.rb:83.
Describe the bug
The warning
is shown every time a search is made and
auto_paging_each
creates a request to Stripe.To Reproduce
Stripe::Invoice.search({ query: 'created>0', limit: 1 }).auto_paging_each.find { false }
Expected behavior
No deprecation warning visible
Code snippets
OS
Linux and macOS both
Language version
Ruby 3.1.4
Library version
10.7.0
API version
2023-10-16
Additional context
The deprecation was added in this PR:
The code that triggers the deprecation warning is this one:
stripe-ruby/lib/stripe/search_result_object.rb
Lines 74 to 84 in ec0e71d
The text was updated successfully, but these errors were encountered: