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

async version of `Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragmentVisitor`

Open
#19 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, sql
Domain
devtools

Research direction

Start by reading the TSqlFragmentVisitor and TSqlFragment APIs named in the issue, along with their existing synchronous visit and accept methods. Determine the full set of visitor and fragment methods that would need asynchronous counterparts, then verify that asynchronous traversal supports the requested SQL work without changing synchronous behavior.

Written by the indexing model from the issue text.

Description

enhancement

I extensively use Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragmentVisitor to validate my queries against my DB schema, and in literally every of its method I need to execute some SQL queries (e.g. CreateCommand + ExecuteReader)

To make my code more modern, I want to use async methods (e.g. CreateCommand + ExecuteReaderAsync), so I need to have the following methods because these methods are above on my stack:

public abstract class TSqlFragmentVisitor
{
   public virtual Task ExplicitVisitAsync(FederationScheme node);
}

and

public abstract class TSqlFragment
{
        public virtual Task AcceptAsync(TSqlFragmentVisitor visitor);
        public virtual Task AcceptChildrenAsync(TSqlFragmentVisitor visitor);

}

Please consider to add these methods.

Thank you!

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 DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.