Closed nykolaslima closed 8 years ago
"Beware of bugs in the above code; I have only proved it correct, not tried it." - Knuth, Donald.
This issue shouldn't be closed? @nykolaslima
And could you generate a new version with the PR #77?
This is indeed already merged via #77
Thank you guys.
Today we have the following problem:
The above code fails because email depends on
name
but whenemail
is evaluated,name
was not evaluated yet.@Tavio has solved this problem on Angular-Fixture-Factory(https://github.com/Tavio/angular-fixture-factory) project using Topological sort(http://en.wikipedia.org/wiki/Topological_sorting) https://github.com/Tavio/angular-fixture-factory/blob/master/angular-fixture-factory.js#L264-L312
We can use the same approach here.