Skip to content

Remove QueryRunner abstraction#3171

Merged
koesie10 merged 1 commit intomainfrom
koesie10/remove-new-query-runner-abstraction
Dec 22, 2023
Merged

Remove QueryRunner abstraction#3171
koesie10 merged 1 commit intomainfrom
koesie10/remove-new-query-runner-abstraction

Conversation

@koesie10
Copy link
Copy Markdown
Member

Since we're only supporting the new query server, we can remove the QueryRunner abstraction and just use the NewQueryRunner as a concrete QueryRunner without an abstract base class. This simplifies the code of the query server and removes some unnecessary indirection.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

Since we're only supporting the new query server, we can remove the
`QueryRunner` abstraction and just use the `NewQueryRunner` as a
concrete `QueryRunner` without an abstract base class. This simplifies
the code of the query server and removes some unnecessary indirection.
@koesie10 koesie10 marked this pull request as ready for review December 21, 2023 15:22
@koesie10 koesie10 requested a review from a team as a code owner December 21, 2023 15:22
Copy link
Copy Markdown
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 thanks for cleaning up!

@koesie10 koesie10 merged commit 5ea1438 into main Dec 22, 2023
@koesie10 koesie10 deleted the koesie10/remove-new-query-runner-abstraction branch December 22, 2023 08:44
@koesie10 koesie10 mentioned this pull request Dec 22, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants