Skip to content

Conversation

aronbudinszky
Copy link
Contributor

Pull Request

What does this PR do?

Fixes #330

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

Hi @aronbudinszky, thanks for one more contribution to Meilisearch ❤️

I'm willing to merge your PR, but I would like to avoid breaking for the users currently calling the method with integers.

Do you have any idea whether to accept both types at the same type? Or even create a new method for that?

@aronbudinszky
Copy link
Contributor Author

Oh very good point!

Will update that tomorrow by adding a bridging method along with a deprecation notice.

@aronbudinszky
Copy link
Contributor Author

Hi @brunoocasali!

I readded the [Int] methods along with unit tests. Since using Int ids is "wrong" I've also added a deprecation notice so that people who use the old method will get notified to change to string values.

Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

Amazing job @aronbudinszky ❤️

bors merge

meili-bors bot added a commit that referenced this pull request Sep 26, 2022
331: Fix batch delete for string document ids. (#330) r=brunoocasali a=aronbudinszky

# Pull Request

## What does this PR do?
Fixes #330

## PR checklist
Please check if your PR fulfills the following requirements:
- [X] Does this PR fix an existing issue?
- [X] Have you read the contributing guidelines?
- [X] Have you made sure that the title is accurate and descriptive of the changes?


Co-authored-by: Aron Budinszky <[email protected]>
@meili-bors
Copy link
Contributor

meili-bors bot commented Sep 26, 2022

Timed out.

@brunoocasali
Copy link
Member

bors merge

meili-bors bot added a commit that referenced this pull request Sep 26, 2022
331: Fix batch delete for string document ids. (#330) r=brunoocasali a=aronbudinszky

# Pull Request

## What does this PR do?
Fixes #330

## PR checklist
Please check if your PR fulfills the following requirements:
- [X] Does this PR fix an existing issue?
- [X] Have you read the contributing guidelines?
- [X] Have you made sure that the title is accurate and descriptive of the changes?


Co-authored-by: Aron Budinszky <[email protected]>
@meili-bors
Copy link
Contributor

meili-bors bot commented Sep 26, 2022

Timed out.

@brunoocasali
Copy link
Member

bors merge

meili-bors bot added a commit that referenced this pull request Sep 26, 2022
331: Fix batch delete for string document ids. (#330) r=brunoocasali a=aronbudinszky

# Pull Request

## What does this PR do?
Fixes #330

## PR checklist
Please check if your PR fulfills the following requirements:
- [X] Does this PR fix an existing issue?
- [X] Have you read the contributing guidelines?
- [X] Have you made sure that the title is accurate and descriptive of the changes?


Co-authored-by: Aron Budinszky <[email protected]>
@meili-bors
Copy link
Contributor

meili-bors bot commented Sep 26, 2022

Timed out.

@curquiza curquiza mentioned this pull request Sep 26, 2022
@curquiza
Copy link
Member

curquiza commented Sep 26, 2022

Hello @aronbudinszky thanks a lot for your contribution 😄

@brunoocasali I've opened a PR to fix this bors issue 😇
#333

meili-bors bot added a commit that referenced this pull request Sep 27, 2022
333: Fix bors.toml r=brunoocasali a=curquiza

To avoid time out like in this PR #331

Co-authored-by: Clémentine Urquizar - curqui <[email protected]>
@brunoocasali
Copy link
Member

bors merge

@meili-bors
Copy link
Contributor

meili-bors bot commented Sep 27, 2022

@meili-bors meili-bors bot merged commit 4b70bce into meilisearch:main Sep 27, 2022
@brunoocasali brunoocasali added the enhancement New feature or request label Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch delete expects an array of Int for document id (even though string document ids are also valid)

3 participants