Commit Graph
10 Commits
Author SHA1 Message Date
Jan WyszynskiandSebastian Schmidt 95aac941d9 Implement get for RTDB queries (#7264)
* Implement RTDB Query get

* changelog

* Mark query inactive after callback

* Add tests, fix some issues

* some small fixes

* Fix tests

* Review feedback

* Address review feedback + fixup tests

* Remove extra logs

* Update FirebaseDatabase/Sources/Core/FPersistentConnection.m

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>

* Review feedback

* Write to unique paths

* Removed FIR prefix

* Add _Nullable specifiers in FRepo.h

* format nullability stuff

* fix get cache test

* goOnline in when get tests finish to avoid interference

* Address review feedback

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>
2021-01-07 17:41:32 -08:00
Paul Beusterien f8c6459b56 Revert "Implement RTDB Query get (#7110)" (#7262)
This reverts commit 55f27b5482.
2021-01-07 07:36:02 -08:00
Jan WyszynskiandSebastian Schmidt 55f27b5482 Implement RTDB Query get (#7110)
* Implement RTDB Query get

* changelog

* Mark query inactive after callback

* Add tests, fix some issues

* some small fixes

* Fix tests

* Review feedback

* Address review feedback + fixup tests

* Remove extra logs

* Update FirebaseDatabase/Sources/Core/FPersistentConnection.m

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>

* Review feedback

* Write to unique paths

* Removed FIR prefix

* Add _Nullable specifiers in FRepo.h

* format nullability stuff

* fix get cache test

Co-authored-by: Sebastian Schmidt <mrschmidt@google.com>
2021-01-05 17:07:05 -08:00
Morgan ChenandPaul Beusterien 90d3600c56 Implement unified emulator settings API proposal (#5916)
* Add header for API proposal

* Fix some bugs and add implmentation

* Fix header import

* Fix umbrella header

* Add ways to modify settings object

* Remove unnecessary nodoc

* Update with new API

* Add implementations for Firestore and RTDB

* Revert emulator settings class

* fix style

* Remove bad import and assertion on override

* Prevent database emu from being set after repo init

* Add unified emu to functions

* Add tests

* update header comment

* fix test failures

* remove unused variable

* fix database test

* cast NSInteger to long

* fix style

* Fix functions test in travis

* Remove valueForKeyPath in tests

* fix style

* update comments and remove explicit scheme

* save progress

* Implement reference validation for RTDB

* Add tests

* Add changelog entries

* Remove test logs

* Fix line lengths

* remove underlyingHost

* fix functions tests

* fix integration warnings in functions test

* fix functions test

* Fix infinite loop exposed in integration tests (#6912)

Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2020-11-06 10:37:06 -08:00
Paul Beusterien 672256e11e C API for Firebase Version (#6690) 2020-10-07 15:03:20 -07:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Sebastian Schmidt 424a58710b Infer Database URL from project ID (#6332) 2020-08-26 20:04:41 +02:00
Paul Beusterien a995dc4f59 RTDB - new public header structure (#6171) 2020-07-31 07:22:02 -07:00
Paul Beusterien 7cb6f96cfd Repo-relative imports for Database (#5861) 2020-06-22 07:58:52 -07:00
Paul Beusterien fa72963bfd Update FirebaseDatabase to canonical directory structure (#5860) 2020-06-22 07:26:07 -07:00