Skip to content

Conversation

ciriousjoker
Copy link
Contributor

@ciriousjoker ciriousjoker commented Sep 9, 2020

Breaking changes:

  • User -> LitUser (freezed doesn't support prefixes)
  • FirebaseUser -> User
  • getSignedInUser() is no longer async

Fixes #8

Breaking changes:
- User -> LitUser (freezed doesn't support prefixes)
- FirebaseUser -> User
- getSignedInUser() is no longer async
Copy link
Owner

@funwithflutter funwithflutter left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks. I'll need to update the docs and the example to add Firebase.initializeApp(). Once this is merged I'll do that update the Pub version!

final user = context.watch<LitUser>();
return user.when(
(user) => authenticated,
(dynamic user) => authenticated,
Copy link
Owner

Choose a reason for hiding this comment

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

Scratch the dynamic here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without the dynamics, the compiler complained

@funwithflutter funwithflutter merged commit b88d862 into funwithflutter:master Sep 13, 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.

Compatibility with cloud_firestore@0.14.0

2 participants