File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/jsMain/kotlin/dev/gitlive/firebase/firestore Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- version = " 0.2.0 "
1
+ version = " 0.2.1 "
2
2
3
3
plugins {
4
4
id(" com.android.library" )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @gitlive/firebase-firestore" ,
3
- "version" : " 0.2.0 " ,
3
+ "version" : " 0.2.1 " ,
4
4
"description" : " Wrapper around firebase for usage in Kotlin Multiplatform projects" ,
5
5
"main" : " firebase-firestore.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -275,14 +275,14 @@ actual open class Query(open val js: firebase.firestore.Query) {
275
275
}
276
276
277
277
internal actual fun _where (field : String , inArray : List <Any >? , arrayContainsAny : List <Any >? ) = Query (
278
- (inArray?.let { js.where(field, " in" , it) } ? : js).let { js2 ->
279
- arrayContainsAny?.let { js2.where(field, " array-contains-any" , it) } ? : js2
278
+ (inArray?.let { js.where(field, " in" , it.toTypedArray() ) } ? : js).let { js2 ->
279
+ arrayContainsAny?.let { js2.where(field, " array-contains-any" , it.toTypedArray() ) } ? : js2
280
280
}
281
281
)
282
282
283
283
internal actual fun _where (path : FieldPath , inArray : List <Any >? , arrayContainsAny : List <Any >? ) = Query (
284
- (inArray?.let { js.where(path, " in" , it) } ? : js).let { js2 ->
285
- arrayContainsAny?.let { js2.where(path, " array-contains-any" , it) } ? : js2
284
+ (inArray?.let { js.where(path, " in" , it.toTypedArray() ) } ? : js).let { js2 ->
285
+ arrayContainsAny?.let { js2.where(path, " array-contains-any" , it.toTypedArray() ) } ? : js2
286
286
}
287
287
)
288
288
You can’t perform that action at this time.
0 commit comments