firebase / firebase/firebase-admin-go

FR: Allow users to override the client config

Open
#579 0 comments 2 reactions 0 assignees View on GitHub
type: feature request
Dominant language
Go
Stars
1.3k
Forks
274
Avg merge
10h 39m
Merged PRs (30d)
2

Description

### [REQUIRED] Step 2: Describe your environment

* Operating System version: linux
* Firebase SDK version: latest
* Library version: v4.12.0
* Firebase Product: messaging

### [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

Contributor guide

Open the contributing guide

Research direction

Start by locating the internal HTTP client used by Firebase Messaging and trace how its retry logic and client configuration are currently selected. Define what user-configurable retry behavior and maximum retries should look like, then verify that existing messaging behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.