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

feat: parse spread operators in select queries #497

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

bnjmnt4n
Copy link
Contributor

@bnjmnt4n bnjmnt4n commented Nov 4, 2023

What kind of change does this PR introduce?

Feature.

What is the current behavior?

The ... spread operator is not supported in select queries.

What is the new behavior?

The ... spread operator is correctly supported.

Additional context

This PR is stacked on top of and should be merged after #496.
Closes #459.
Although there are a couple of existing PRs which implement the same feature, I think this is the most accurate (due to the use of the new ParseField helper in #496).

@steve-chavez
Copy link
Member

LGTM! @soedirgo Any concerns on merging this?

@shirotech
Copy link

👍 hope this can be merged soon!

@steve-chavez steve-chavez merged commit e6a64c6 into supabase:master Feb 24, 2024
1 check passed
Copy link

🎉 This PR is included in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Spread operator causes Typescript ParserError
3 participants