Closed warrenisarobot closed 1 year ago
Hi, thank you so much for the PR!
This is great, I will add some tests for this use case. However, I will merge this right away and leave the issue open for the tests.
Bummer that Dart's Map[]
is not typed, not sure if there is a linter to make sure something like this is not happening in other parts of the codebase. I will investigate, maybe https://dartcodemetrics.dev/.
Thanks again
@juancastillo0 Thanks for this package, it is super helpful! Glad I could help in a small way.
variable.name
is aNamedNode
type, but thevariables
array keys are Strings of the name of the variable. This causes any variables to not be replaced correctly when they are used in an Object.Updated to use the value of the NamedNode which can be looked up in the variables Map.