lucavenir / go_router_riverpod

An example on how to use Riverpod + GoRouter
460 stars 68 forks source link

complete_example is not compilable: still uses freezed models #13

Closed agordeev closed 1 year ago

agordeev commented 1 year ago

Compile fails on using UserRole.none(). Seems you forgot to replace it by enum?

PS: RedirecttionBasedOnRole has a typo :)

lucavenir commented 1 year ago

I might have copy-pasted badly that example. I'm too addicted to code gen, ahah.

I'll look into it in the next week

alexsuriya commented 1 year ago

Hi @lucavenir , Do we have any updates on the issue fixes?

lucavenir commented 1 year ago

Hi, sorry about the delay.

Weirdly enough my IDE wasn't picking up this compile error. That's why it slipped away. I'll accept the PR asap