riverpod icon indicating copy to clipboard operation
riverpod copied to clipboard

Throw an error if a family parameter's name conflicts with a local variable

Open rrousselGit opened this issue 9 months ago • 4 comments

Say a parameter is named "state". That wouldn't work because Ref.state and Notifier.state already exist, in which case there is a name conflict.

We should offer a proper error message for such scenarios.

rrousselGit avatar Sep 13 '23 14:09 rrousselGit