go_router_riverpod icon indicating copy to clipboard operation
go_router_riverpod copied to clipboard

example of code_gen + FirebaseAuth + UserRole

Open k2s opened this issue 1 year ago • 1 comments

Would you be so kind to rework the Firebase Auth example to use generation of GoRouter routes, generation of routerProvider and support for UserRoles ?

Very interesting would be to have as similar solution as possible for the dummy auth example and the one using Firebase Auth. For example to move await FirebaseAuth.instance.signInAnonymously(); into StreamProvider authProvider.

k2s avatar Mar 19 '23 21:03 k2s

Sure thing, you're right. I should maintain that example, too. Chances are that code_gen and firebase will be the only two example maintained in this repo.

WIP

lucavenir avatar Mar 19 '23 21:03 lucavenir