File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -228,11 +228,11 @@ func readDocument(at docRef: DocumentReference) {
228
228
func readDocumentWithOptions( at docRef: DocumentReference ) {
229
229
docRef. getDocument ( options: GetOptions . defaultOptions ( ) ) { document, error in
230
230
}
231
- docRef. getDocument ( options: GetOptions . init ( source: GetSource . default) ) { document, error in
231
+ docRef. getDocument ( options: GetOptions ( source: GetSource . default) ) { document, error in
232
232
}
233
- docRef. getDocument ( options: GetOptions . init ( source: GetSource . server) ) { document, error in
233
+ docRef. getDocument ( options: GetOptions ( source: . server) ) { document, error in
234
234
}
235
- docRef. getDocument ( options: GetOptions . init ( source: GetSource . cache) ) { document, error in
235
+ docRef. getDocument ( options: GetOptions ( source: GetSource . cache) ) { document, error in
236
236
}
237
237
}
238
238
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ - (void)getDocumentsFromLocalCache:(FIRQuery *)query
298
298
FSTViewDocumentChanges *viewDocChanges = [view computeChangesWithDocuments: docs];
299
299
FSTViewChange *viewChange = [view applyChangesToDocuments: viewDocChanges];
300
300
FSTAssert (viewChange.limboChanges .count == 0 ,
301
- @" View returned limbo docs before target ack from the server ." );
301
+ @" View returned limbo documents during local-only query execution ." );
302
302
303
303
FSTViewSnapshot *snapshot = viewChange.snapshot ;
304
304
FIRSnapshotMetadata *metadata =
You can’t perform that action at this time.
0 commit comments