Skip to content

fix(providers): remove DEFAULT_ DEFAULT_FIREBASE_REF and DEFAULT_FIRE… #30

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
Jan 29, 2016

Conversation

jeffbcross
Copy link
Contributor

…BASE

BREAKING CHANGE:
The tokens to inject the root firebase url and reference have changed from
DEFAULT_FIREBASE -> FirebaseUrl
DEFAULT_FIREBASE_REF -> FirebaseRef

Closes #25

…BASE

BREAKING CHANGE:
The tokens to inject the root firebase url and reference have changed from
DEFAULT_FIREBASE -> FirebaseUrl
DEFAULT_FIREBASE_REF -> FirebaseRef

Closes angular#25
@robwormald
Copy link
Contributor

LGTM

...
class MyComponent {
constructor(@Inject(DEFAULT_FIREBASE_REF) ref:Firebase) {
constructor(@Inject(FirebaseRef) ref:Firebase) {
Copy link
Contributor

Choose a reason for hiding this comment

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

definitely worth considering the ergonomics here - @Inject(FirebaseRef) ref:Firebase vs ref:Firebase vs ref:FirebaseRef

@jeffbcross jeffbcross merged commit 842f3cd into angular:master Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants