Skip to content

fix(clients): support dict in helpers #4254

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 4 commits into from
Dec 17, 2024
Merged

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Dec 17, 2024

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-3335

Changes included:

we have runtime errors if we use dict/hash instead of models, but the clients support both, we should align in the helpers as well

@shortcuts shortcuts self-assigned this Dec 17, 2024
@shortcuts shortcuts requested a review from a team as a code owner December 17, 2024 11:19
@algolia-bot
Copy link
Collaborator

algolia-bot commented Dec 17, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 04b9b155e8c08d2c38415af74af8732c79ab2713
🍃 Generated commit 5081e6cd4ff9c8eb6b6ab619cdf6ca8a5e47b510
🌲 Generated branch generated/fix/python-ruby-model-dict-hash
📊 Benchmark results

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

Language Req/s
python 1085
ruby 881

@shortcuts shortcuts changed the title Fix/python ruby model dict hash fix(clients): support dict in helpers Dec 17, 2024
Copy link
Contributor

@morganleroi morganleroi left a comment

Choose a reason for hiding this comment

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

Seems good but I don't read Ruby :-D

@shortcuts
Copy link
Member Author

Seems good but I don't read Ruby :-D

me neither dw

@shortcuts shortcuts merged commit bc8939f into main Dec 17, 2024
18 checks passed
@shortcuts shortcuts deleted the fix/python-ruby-model-dict-hash branch December 17, 2024 12:34
algolia-bot added a commit that referenced this pull request Dec 17, 2024
algolia-bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Dec 17, 2024
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Dec 17, 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