Sitelet https://github.com/microsoft/SqlScriptDOM/issues/139
Skip to content

Consider returning specifically TSQLScript object from parser instead of abstraction #139

Description

@IVNSTN

Since you know specfically that the result is TSQLScript why turning it into a less comfortable to work with abstraction for consumers?

Image
top parse method

Image
internal parse method

To start working with TSQLScript and his batches one has to double-check or to perform a hard cast to TSQLScript just as you do in HotSwap method - why? Since it always was a TSQLScript instance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions