Skip to content

Fix build errors in QueryBuilderSerialization#62

Merged
flyon merged 1 commit intodevfrom
claude/fix-build-errors-serialization
Apr 6, 2026
Merged

Fix build errors in QueryBuilderSerialization#62
flyon merged 1 commit intodevfrom
claude/fix-build-errors-serialization

Conversation

@flyon
Copy link
Copy Markdown
Contributor

@flyon flyon commented Apr 6, 2026

Summary

  • Fix CJS/ESM build errors caused by importing WhereMethods, WhereEvaluationPath, WhereAndOr, and AndOrQueryToken from SelectQuery.js — these types were not reliably exported under both build configs
  • Replace with inline structural types cast via WherePath

Test plan

  • npm run build succeeds (both CJS and ESM)
  • All 1046 tests pass
  • TypeScript compiles clean with --noEmit

https://claude.ai/code/session_01P6n2XLm5DSugoa8RWN97yy

WhereMethods, WhereEvaluationPath, WhereAndOr, and AndOrQueryToken
were not reliably exported under CJS/ESM build configs. Replace with
inline structural types cast via WherePath.

https://claude.ai/code/session_01P6n2XLm5DSugoa8RWN97yy
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 6, 2026

⚠️ No changeset found. If this PR should trigger a release, run npx changeset and commit the generated file.

If this change doesn't need a release (docs, CI config, etc.), you can ignore this message.

@flyon flyon merged commit b043289 into dev Apr 6, 2026
4 checks passed
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