We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When an item T implements IKeyEquatable<T>, we should be able to do await ListState.UpdateItemAsync(oldT, newT).
IKeyEquatable<T>
await ListState.UpdateItemAsync(oldT, newT)
Currently we need to do something like : ListState.UpdateAllAsync(t => t.KeyEquals(newT), newT);
ListState.UpdateAllAsync(t => t.KeyEquals(newT), newT);
Simplicity
The text was updated successfully, but these errors were encountered:
ajpinedam
Successfully merging a pull request may close this issue.
What would you like to be added:
When an item T implements
IKeyEquatable<T>
, we should be able to doawait ListState.UpdateItemAsync(oldT, newT)
.Currently we need to do something like :
ListState.UpdateAllAsync(t => t.KeyEquals(newT), newT);
Why is this needed:
Simplicity
For which Platform:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: