Remi Rousselet

Results 1776 comments of Remi Rousselet

It'll definitely need to be fixed. But considering there's an easy workaround and that it's likely a bit rare, I think it can easily wait a bit :)

Sure, if you feel comfortable doing so! It should be in ProviderContainer.invalidate. Make sure to test it :)

Closing while we first agree on how to solve https://github.com/rrousselGit/riverpod/issues/4168

It's difficult. It'd require quite a lot of changes to fix that.

That's what riverpod is currently doing, and that's what the problem is. You see, `getDisplayString` isn't `(int,)` It's `(int)` in this case. Hence why there's no comma. Riverpod would have...

Technically not. Analyzer is free to use anything for getDisplayString, even non-valid types. It wasn't supposed to be used to write types. But analyzer had nothing else built-in, so I...

Just passing by to say that this is on my radar. I've been working on a way for code-generator to better write code, which solves import prefixes and many other...

Tbh you're not really supposed to use `ref` inside listeners. I've recently disabled using `ref` within `onDispose` and other life-cycle hooks. Not sure if I did it inside `ref.listen` too,...