Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#84 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
sql
Domain
databases

Research direction

Start by reproducing the visitor with ExplicitVisit overrides for AssignmentSetClause and WhereClause on .NET 8, then inspect the traversal behavior of those AST nodes. Done means the explicit visits occur in the expected statement order, with a regression test demonstrating the result.

Written by the indexing model from the issue text.

Description

bug
  • 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)

Dominant language
GAP
Stars
277
Forks
43
Avg merge
6d 17h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/SqlScriptDOM

All issues in microsoft/SqlScriptDOM

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.