Skip to content

fix(functions): Better fix for Functions Region #1947

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
Nov 7, 2018
Merged

Conversation

jamesdaniels
Copy link
Member

@jamesdaniels jamesdaniels commented Nov 6, 2018

Checklist

Description

I pulled in #1946, which is a fix for #1945 but in reading the code a bit more I realize the issue here is that we have to pass undefined if we want to trip the Firebase JS SDK default argument. Unfortunately an undefined optional injection comes through as null in Angular.

This new fix is inline with the default argument I provide in Database and Storage.

I prefer this as it's less code, less assumptions, less API surface. Leave the default to the Firebase JS SDK.

Code sample

Copy link
Collaborator

@davideast davideast left a comment

Choose a reason for hiding this comment

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

LGTM

@davideast davideast merged commit 75f3dae into master Nov 7, 2018
@davideast davideast deleted the functions_region branch November 7, 2018 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants