Skip to content

Query: Introduce custom query root for TVF#20165

Merged
smitpatel merged 1 commit intosmit/queryrootpart2from
smit/queryrootpart3
Mar 4, 2020
Merged

Query: Introduce custom query root for TVF#20165
smitpatel merged 1 commit intosmit/queryrootpart2from
smit/queryrootpart3

Conversation

@smitpatel
Copy link
Contributor

  • Avoids having to do special processing in other visitors
  • Visit's method's argument correctly in other visitor (this means that if there is a navigation expansion required for a parameter it will be done automatically)
  • Remove Nav expansion factory not needed anymore
  • Rename ExpressionPrinter.VisitList to VisitCollection and take IReadOnlyCollection, that is what most expression uses.
  • Remove unnecessary exception message. They are part of a larger work item.

Resolves #20146

- Avoids having to do special processing in other visitors
- Visit's method's argument correctly in other visitor (this means that if there is a navigation expansion required for a parameter it will be done automatically)
- Remove Nav expansion factory not needed anymore
- Rename ExpressionPrinter.VisitList to VisitCollection and take IReadOnlyCollection, that is what most expression uses.
- Remove unnecessary exception message. They are part of a larger work item.

Resolves #20146
@smitpatel
Copy link
Contributor Author

@roji - Can you take a look at this branch and see if you still need fix for the convert node removal work you did in the other PR?

@roji
Copy link
Member

roji commented Mar 4, 2020

@smitpatel confirmed that with your branch all my tests are green, thanks!

@smitpatel smitpatel merged commit b16b64d into smit/queryrootpart2 Mar 4, 2020
@smitpatel smitpatel deleted the smit/queryrootpart3 branch March 4, 2020 20:54
@smitpatel smitpatel linked an issue Mar 4, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query: Introduce an Expression for query root

3 participants