UpdateSpecification.AcceptChildren issue results in out of sequence explicit visit calls
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
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
- 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:
- Create a visitor inheriting from TSqlFragmentVisitor
- Override ExplicitVisit(AssignmentSetClause node)
- Override ExplicitVisit(WhereClause node)
- Item 2. (AssignmentSetClause) gets invoked "after" Item 3. (WhereClause)
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/SqlScriptDOM
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/SqlScriptDOM#228 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
microsoft/SqlScriptDOM#183 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 56/100
microsoft/SqlScriptDOM#226 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/SqlScriptDOM#225 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
microsoft/SqlScriptDOM#224 ·
All issues in microsoft/SqlScriptDOM
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
[BUG]: "Clear All" in Settings doesn't clear the saved analysis, old data comes back after reload Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
AOSSIE-Org/OrgExplorer#253 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
needs triage receiver/oracledb
Difficulty 2/5 1-2 days Newbie friendliness 84/100
open-telemetry/opentelemetry-collector-contrib#51400 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100