Skip to content

fix(ruby): expose static helper [skip-bc] #4191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 2, 2024
Merged

fix(ruby): expose static helper [skip-bc] #4191

merged 2 commits into from
Dec 2, 2024

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Dec 2, 2024

🧭 What and Why

Suggested by @kombucha in https://github.com/algolia/AlgoliaWeb/pull/22965#discussion_r1865709618, we can expose static helpers where needed, and forward the call of instance method to the static function to make it non-breaking.

@millotp millotp self-assigned this Dec 2, 2024
@millotp millotp requested a review from a team as a code owner December 2, 2024 16:40
@millotp millotp requested review from Fluf22 and shortcuts December 2, 2024 16:40
@algolia-bot
Copy link
Collaborator

algolia-bot commented Dec 2, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 2cf513c0d22d25048364d6b139218a3c56dc2c17
🍃 Generated commit 5d05a76612df5ecedc541b716fcb97a62576bbe3
🌲 Generated branch generated/fix/ruby-static
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
ruby 862

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gg

@millotp millotp merged commit b4809e7 into main Dec 2, 2024
12 checks passed
@millotp millotp deleted the fix/ruby-static branch December 2, 2024 20:53
algolia-bot added a commit that referenced this pull request Dec 2, 2024
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Dec 2, 2024
shortcuts pushed a commit that referenced this pull request Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants