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

Prettify intersected types when selecting multiple columns #399

Merged
merged 2 commits into from
Feb 21, 2023
Merged

Prettify intersected types when selecting multiple columns #399

merged 2 commits into from
Feb 21, 2023

Conversation

TomasHubelbauer
Copy link
Contributor

Resolves #398

What kind of change does this PR introduce?

DX improvement

What is the current behavior?

.select with multiple columns returns an intersected type:

image

What is the new behavior?

Intersected type is prettified:

image

Copy link
Member

@soedirgo soedirgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌 Thanks again!

@soedirgo soedirgo merged commit 9fb56c7 into supabase:master Feb 21, 2023
@github-actions
Copy link

🎉 This PR is included in version 1.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@TomasHubelbauer TomasHubelbauer deleted the prettify-intersected-types branch February 21, 2023 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate Prettify to get rid of intersection types
2 participants