Skip to content

Conversation

@millotp
Copy link
Contributor

@millotp millotp commented Oct 9, 2024

🧭 What and Why

🎟 JIRA Ticket: DI-3031

closes algolia/algoliasearch-client-ruby#506

The client should delegate all validation to the API, or default value setting.
This is because if the API changes the bounds for example, we should not prevent the client from calling the API.

I left nil validation because it can cause other issues, and we have it in the legacy clients.

@millotp millotp self-assigned this Oct 9, 2024
@millotp millotp requested a review from a team as a code owner October 9, 2024 21:29
@millotp millotp requested review from Fluf22 and morganleroi October 9, 2024 21:29
@algolia-bot
Copy link
Collaborator

algolia-bot commented Oct 9, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 678f41400ce30ef1ba3ba53cb75fe9b6e44c96b3
🍃 Generated commit ec19d624e3cf39be665ec87f5b2e0972364606c3
🌲 Generated branch generated/fix/no-validation
📊 Benchmark results

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

Language Req/s
go 1679
javascript 1602
php 1512
csharp 1401
java 1058
python 998
ruby 925
swift 776

@millotp millotp merged commit ee6c043 into main Oct 9, 2024
29 checks passed
@millotp millotp deleted the fix/no-validation branch October 9, 2024 23:04
algolia-bot added a commit that referenced this pull request Oct 9, 2024
) (generated) [skip ci]

Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Oct 9, 2024
…nerated)

algolia/api-clients-automation#3936

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Oct 9, 2024
…nerated)

algolia/api-clients-automation#3936

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Oct 9, 2024
…nerated)

algolia/api-clients-automation#3936

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
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.

[bug]: broken Recommend API

4 participants