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

CASE expects a scalar value, but Kysely typechecks THEN wrongly #811

Closed
thelinuxlich opened this issue Dec 19, 2023 · 0 comments
Closed
Labels
bug Something isn't working typescript Related to Typescript

Comments

@thelinuxlich
Copy link
Contributor

Reproduction link: https://kyse.link/?p=s&i=FV7HYRyMKtz2FQZeSyJv

Some SQL constructs like CASE expect a scalar value on THEN and Kysely typechecks it wrongly when we give it a subquery.

@igalklebanov igalklebanov added bug Something isn't working typescript Related to Typescript labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working typescript Related to Typescript
Projects
None yet
Development

No branches or pull requests

2 participants