fl-query
fl-query copied to clipboard
Queries should copy the params
This code does not work as expected:
final someParams = [...]
someMutation.mutate(someParams);
someParams.clear();
this one does:
final someParams = [...]
await someMutation.mutate(someParams);
someParams.clear();
I'd say it's more intuitive to have the first one work as well.