Skip to content
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

fix(specs): ignorePlurals can be a boolean string #3620

Merged
merged 7 commits into from
Aug 30, 2024

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Aug 30, 2024

🧭 What and Why

Closes algolia/algoliasearch-client-go#610, turns out boolean string are supported here.
Also add e2e test for getRule and searchRules, and also for unicode at the same time.

Delete all the analytics e2e because the CI won't do it for us.

@millotp millotp self-assigned this Aug 30, 2024
@millotp millotp requested a review from a team as a code owner August 30, 2024 10:47
@algolia-bot
Copy link
Collaborator

algolia-bot commented Aug 30, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 2ddd0ea94171724492c2d6fdd227d529a4df6073
🍃 Generated commit 6c3341e325e54e2a7d7eaec0e12e4267df3486e8
🌲 Generated branch generated/fix/ignorePlurals-string
📊 Benchmark results

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

Language Req/s
javascript 1607
php 1497
csharp 1177
python 999
java 979
ruby 884
swift 780
go 571
kotlin 492

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.

looks great! waiting for the gen

Comment on lines 1176 to 1177
- true
- false
Copy link
Member

Choose a reason for hiding this comment

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

does it need to be quoted?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

apparently not, all languages generate string, but I can make it explicit.

"promote": [
{
"objectIDs": [
"\u00C6on Flux"
Copy link
Member

Choose a reason for hiding this comment

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

ahhhhhh

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!

Copy link

github-actions bot commented Aug 30, 2024

@millotp millotp enabled auto-merge (squash) August 30, 2024 13:25
@millotp millotp merged commit 3d07a1e into main Aug 30, 2024
25 checks passed
@millotp millotp deleted the fix/ignorePlurals-string branch August 30, 2024 13:37
algolia-bot added a commit that referenced this pull request Aug 30, 2024
… [skip ci]

Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-csharp that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-dart that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-python that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-swift that referenced this pull request Aug 30, 2024
algolia/api-clients-automation#3620

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
millotp added a commit that referenced this pull request Aug 30, 2024
… [skip ci]

Co-authored-by: Pierre Millot <pierre.millot@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.

Ensure consequence.params.ignorePlurals can be deserialized from string
3 participants