While testing CBL 3.2 changes in Kotbase, using the tests from the ObjC/Swift SDK, I discovered that these two lines fail for the Java SDK. It appears that the IndexUpdater.toList()
function in the Java SDK only performs a shallow conversion to List
, without converting Array
and Dictionary
objects to List
and Map
objects. Document
, Dictionary
, Array
, and Result
all do a deep conversion in their respective toMap()
and toList()
functions. The iOS SDK performs a deep conversion for IndexUpdater
as well and doesn’t fail on these same two lines.
Thanks, I filed this issue to handle this.
1 Like
Looks like this is also an issue for the C SDK as well.