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(typegen): handle tables without any columns #727

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Conversation

sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Feb 21, 2024

What kind of change does this PR introduce?

Bug fix #726

What is the new behavior?

Generating types for create table empty() should not crash.

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested review from a team as code owners February 21, 2024 03:33
@soedirgo soedirgo merged commit 24d02d0 into master Feb 21, 2024
4 checks passed
@soedirgo soedirgo deleted the empty-table branch February 21, 2024 04:53
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.

Gen type throws an exception when table has no columns
2 participants