SqlScriptDOM icon indicating copy to clipboard operation
SqlScriptDOM copied to clipboard

UpdateSpecification.AcceptChildren issue results in out of sequence explicit visit calls

Open kenlnetherland opened this issue 9 months ago • 0 comments

  • SqlPackage or DacFx Version:
  • .NET Framework (Windows-only) or .NET Core: .NET 8
  • Environment (local platform and source/target platforms): net8.0-windows x64

Steps to Reproduce:

  1. Create a visitor inheriting from TSqlFragmentVisitor
  2. Override ExplicitVisit(AssignmentSetClause node)
  3. Override ExplicitVisit(WhereClause node)
  4. Item 2. (AssignmentSetClause) gets invoked "after" Item 3. (WhereClause)
  5. Shouldn't this be reversed?

Did this occur in prior versions? If not - which version(s) did it work in?

(DacFx/SqlPackage/SSMS/Azure Data Studio)

kenlnetherland avatar May 18 '24 19:05 kenlnetherland