Skip to content

Commit 58124c4

Browse files
committed
most spec tests PASS!
TODO: limit to last/cursors TODO: getNewerDoc by collection group for database/documents
1 parent 6ab2ba5 commit 58124c4

27 files changed

+924
-192
lines changed

packages/firestore/src/api/pipeline_impl.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import {
2525
} from '../core/firestore_client';
2626
import { Pipeline } from '../lite-api/pipeline';
2727
import { PipelineResult } from '../lite-api/pipeline-result';
28+
import { CorePipeline } from '../core/pipeline_run';
2829

2930
/**
3031
* Executes this pipeline and returns a Promise to represent the asynchronous operation.
@@ -114,7 +115,12 @@ export function _onSnapshot(
114115
complete: complete
115116
};
116117
// TODO(pipeline) hook up options
117-
firestoreClientListen(client, pipeline, {}, observer);
118+
firestoreClientListen(
119+
client,
120+
new CorePipeline(pipeline.userDataReader.serializer, pipeline.stages),
121+
{},
122+
observer
123+
);
118124

119125
return () => {};
120126
}

0 commit comments

Comments
 (0)