Skip to content
New issue

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

The IdentityVisitor has an implicit dependency on the PartialEvaluator visitor #67

Open
pelavall opened this issue Apr 6, 2016 · 0 comments

Comments

@pelavall
Copy link
Contributor

pelavall commented Apr 6, 2016

The chain of visitors which is fed into the WiqlQueryBuilder is required to be in a particular order. In the case of the IdentityVisitor, if the PartialEvaluator is not placed in line before the IdentityVisitor, it will not execute correctly as some of the expressions have not been simplified to the extent that the IdentityVisitor can interpret them.

As implemented there are no safeguards around constructing these types appropriately. We should revisit their implementation to make it such that you can only construct these types such that they will work as intended.

@IE-Radiator IE-Radiator added this to the Future milestone Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants