You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for inner/base http client in Firestore constructors.
You can now pass `Firestore` an `package:http` `Client` which can be used to add logging or request modification.
For example:
```dart
final firestore = Firestore.newInstance(
credentials: myCredentials,
innerClient: LoggingHttpClient(),
);
class LoggingHttpClient extends http.BaseClient {
final http.Client _delegate = http.Client();
@OverRide
Future<http.StreamedResponse> send(http.BaseRequest request) {
print('Sending request: $request');
return _delegate.send(request);
}
}
```
Additionally I added a `run-remote-tests` workflow that runs all tests that call the remote Firestore server.
Another workflow running the other tests using the emulator needs to be added as well in the future.
This is also a prerequisite to be able to make a regression test for #4.
Under https://www.github.com/SharezoneApp/cloud_firestore_server/tree/main/cloud_firestore_server%2Flib%2Fsrc%2Finternal%2Ffirestore_run_query_fixed_extension.dart the project id "sharezone-debug" is still hard coded.
The text was updated successfully, but these errors were encountered: