Skip to content

refactor: improve scope management with Disposable pattern#6

Open
nickBes wants to merge 1 commit intoits-elad:mainfrom
nickBes:pr-suggestions
Open

refactor: improve scope management with Disposable pattern#6
nickBes wants to merge 1 commit intoits-elad:mainfrom
nickBes:pr-suggestions

Conversation

@nickBes
Copy link

@nickBes nickBes commented Mar 11, 2026

  • Removed unnecessary pop methods for query and CTE scopes, replacing them with a Disposable pattern to ensure proper scope cleanup.
  • Updated documentation to reflect changes in scope management strategy.
  • Simplified the visitQuery and visitQueryNoWith methods for better readability and maintainability.
  • Enhanced type safety and clarity in the handling of CTEs and query terms.
  • Added TypeScript compiler options to support ES2023 features.

- Removed unnecessary pop methods for query and CTE scopes, replacing them with a Disposable pattern to ensure proper scope cleanup.
- Updated documentation to reflect changes in scope management strategy.
- Simplified the visitQuery and visitQueryNoWith methods for better readability and maintainability.
- Enhanced type safety and clarity in the handling of CTEs and query terms.
- Added TypeScript compiler options to support ES2023 features.
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.

1 participant