firebase / firebase-admin-go

Firebase Admin Go SDK
Apache License 2.0
1.14k stars 247 forks source link

FR: Allow users to override the client config #579

Open agnivade opened 1 year ago

agnivade commented 1 year ago

[REQUIRED] Step 2: Describe your environment

[REQUIRED] Step 3: Describe the problem

The entire HTTP client is an internal package. There is no way to override the retry logic nor specify the max number of retries. This makes it very hard to have more control over the client.

It seems like everything is abstracted away with very little control given to users of this library. I am not sure why it's designed like this, but this makes it hard to use the library to its full extent.

Somewhat related: https://github.com/firebase/firebase-admin-go/issues/576