Skip to content

Commit 79f0444

Browse files
committed
DisjunctiveTests
1 parent 387bbe0 commit 79f0444

File tree

2 files changed

+1556
-2
lines changed
  • firebase-firestore/src

2 files changed

+1556
-2
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/pipeline/stage.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,9 @@ private constructor(private val collectionId: String, options: InternalOptions)
250250
context: EvaluationContext,
251251
inputs: Flow<MutableDocument>
252252
): Flow<MutableDocument> {
253-
// TODO: Does this need to do more?
254-
return inputs
253+
return inputs.filter { input ->
254+
input.isFoundDocument && input.key.collectionGroup == collectionId
255+
}
255256
}
256257

257258
companion object {

0 commit comments

Comments
 (0)