Skip to content

fix: Extracting GAPIC API calls into a new module #581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

hiranya911
Copy link
Contributor

GAPIC is our largest dependency today (~54MB), and is only used by FCM for batch notification delivery. Currently it's imported by our shared _utils module, which puts it in the dependency chain of everything. In this PR I'm extracting the GAPIC API calls into a new _gapic_utils module for better isolation. This way, developers who don't need it (and care about the installation footprint), can at least manually delete it with no impact on rest of the SDK.

Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Hiranya! LGTM!

@hiranya911 hiranya911 merged commit f38c5f7 into master Oct 4, 2021
@hiranya911 hiranya911 deleted the hkj-gapic-utils branch October 4, 2021 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants