algoliasearch-client-scala icon indicating copy to clipboard operation
algoliasearch-client-scala copied to clipboard

Handle `autoGenerateObjectIDIfNotExist` parameter for `replaceAllObjects()` method

Open aseure opened this issue 5 years ago • 0 comments
trafficstars

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.

aseure avatar Dec 13 '19 15:12 aseure