Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samtstern
Copy link
Contributor

No description provided.

Change-Id: I8a06e42fea1ed960ca47c006987760ec8d09b5a5
Copy link

@andirayo andirayo left a comment

Choose a reason for hiding this comment

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

Thanks for doing this.

However, I would recommend setting a "full set" of Firebase options in order to signal to developers that they should always set the full set of values and not select for the task at hand.
(because it might break them later on when they add another Firebase service or a Firebase service changes its requirements)

Comment on lines +40 to +41
// setDatabaseURL(...)
// setStorageBucket(...)

Choose a reason for hiding this comment

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

I would recommend setting these too, to make it clear to developers that they should just always set the full set of values and not select for the task at hand.

Also I recommend to use example values (as it was done before).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's likely that Firebase moves to a place where not all of these resources are created on project creation.

I don't think we should do any more silent breaking changes in the future. If we want to require DatabaseURL tomorrow we should break FirebaseApp.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(changed back to example values)

Change-Id: I6760974a5d1b9b2aa2f084a31a04a049f6128137
@samtstern samtstern merged commit 37bb175 into master Feb 28, 2020
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.

3 participants