Skip to content

Inject arbitrary FunctionSymbol when using ServerSymbolLoader/SymbolResolver #14

@theta3

Description

@theta3

Hi, I'm using https://github.com/mattwar/Kusto.Toolkit/blob/master/src/Toolkit/docs/SymbolResolver.md to analyze syntax of multiple commands. Sometimes a command relies on previous ones, e.g.

.create-or-alter function A() ...

then later

.create-or-alter function B()
{
A()
| take 1
}

How do I inject A into the GlobalState so I won't get false positive error that A doesn't refer to a known function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions