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

feat(clients): add saveObjects, deleteObjects and partialUpdateObjects helpers #3180

Merged
merged 21 commits into from
Jun 26, 2024

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Jun 14, 2024

🧭 What and Why

add saveObjects, deleteObjects and partialUpdateObjects helpers, implem based on https://github.com/algolia/algoliasearch-client-go/blob/master/algolia/search/index_objects.go usage

  • csharp
  • dart
  • go
  • java
  • javascript
  • kotlin
  • php
  • python
  • ruby
  • scala
  • swift

this PR provides the basic implementation for everything, in the next one I'll allow providing batchSize and wait as optional parameters but that's already a big one

@shortcuts shortcuts self-assigned this Jun 14, 2024
@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 14, 2024

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

Copy link

github-actions bot commented Jun 24, 2024

@github-actions github-actions bot temporarily deployed to pull request June 24, 2024 09:40 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 24, 2024 12:31 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 24, 2024 14:06 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 25, 2024 10:22 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 25, 2024 20:37 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 25, 2024 21:09 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 25, 2024 21:52 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 25, 2024 22:11 Inactive
@shortcuts shortcuts marked this pull request as ready for review June 26, 2024 07:09
@shortcuts shortcuts requested a review from a team as a code owner June 26, 2024 07:09
@shortcuts
Copy link
Member Author

There might be more idiomatic ways to do the delete logic on some clients, if you have any in mind pls point it

@github-actions github-actions bot temporarily deployed to pull request June 26, 2024 08:15 Inactive
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

huge !

@shortcuts shortcuts enabled auto-merge (squash) June 26, 2024 09:55
@github-actions github-actions bot temporarily deployed to pull request June 26, 2024 10:10 Inactive
@shortcuts shortcuts merged commit 7a90e45 into main Jun 26, 2024
21 checks passed
@shortcuts shortcuts deleted the feat/saveObjects-deleteObjects-partialUpdateObjects branch June 26, 2024 10:11
This pull request was closed.
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