Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix InferResult not working for merge queries. #902

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

igalklebanov
Copy link
Member

@igalklebanov igalklebanov commented Mar 11, 2024

Hey 👋

This PR fixes InferResult not working for merge queries - currently always infers never.

Breaking Changes:

Aligns all cases of InferResult to resolve to a O[] result (.execute()), and not O for insert/delete/update/merge queries. Found the current behavior breaks a type-safe batch executor I'm considering implementing.

@igalklebanov igalklebanov added bug Something isn't working typescript Related to Typescript labels Mar 11, 2024
Copy link

vercel bot commented Mar 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kysely ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 11:53am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Includes breaking changes bug Something isn't working ready for review typescript Related to Typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant