algolia / algolia/algoliasearch-client-java
Handle `autoGenerateObjectIDIfNotExist` parameter for `replaceAllObjects()` method
未关闭
Good First Issue
- 主要语言
- Java
- 星标
- 52
- 派生
- 33
- PR 合并指标
- 30 天内没有已合并 PR
描述
The `autoGenerateObjectIDIfNotExist` boolean parameter is for now only valid in
the context of the `saveObjects()` method. As pointed out by @julienpa, it would
make sense to also accepts it as a valid parameter of `replaceAllObjects()`.
For backward-compatiblity, let's make sure the default behavior of calling
`replaceAllObjects()` without the `autoGenerateObjectIDIfNotExist` parameter is
still considered as if it was set to `false`.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先在 Java 客户端中定位 replaceAllObjects() 和 saveObjects() 方法定义,并比较当前对参数的处理方式。确认 replaceAllObjects() 接受 boolean,而省略该参数的调用仍保留 false 行为;如果已有匹配的测试,请为这两种调用形式添加或更新覆盖率。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100