Skip to content

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.

3 participants