You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* refactor(parser): deprecate backward-compat shims, collapse duplicate functions
- Deprecate Parse([]token.Token) with migration note to ParseFromModelTokens
- Collapse ParseFromModelTokensWithPositions to delegate to ParseFromModelTokens
- Deprecate ConversionResult.PositionMapping (always nil)
Part of #322 cleanup — unification was completed in preprocess.go rewrite.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(lint): update callers of deprecated parser shims
- linter.go: use ParseFromModelTokens instead of deprecated ParseFromModelTokensWithPositions
- distinct_on_example.go: nolint staticcheck for intentional backward-compat demo
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(examples): replace deprecated parser API with gosqlx.Parse
- Refactor distinct_on_example.go to use gosqlx.Parse(sql) instead of
the deprecated p.Parse([]token.Token) API; removes manual token-slice
construction and the now-unnecessary token/models/parser imports
- Fix positions_test.go to call ParseFromModelTokens instead of the
deprecated ParseFromModelTokensWithPositions
Eliminates the last two SA1019 violations caught by standalone
staticcheck in CI, unblocking PR #416.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments