supabase / postgrest-js

Isomorphic JavaScript client for PostgREST.
https://supabase.com
MIT License
962 stars 128 forks source link

feat: parse spread operators in select queries #497

Closed bnjmnt4n closed 4 months ago

bnjmnt4n commented 7 months ago

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 commented 7 months ago

LGTM! @soedirgo Any concerns on merging this?

shirotech commented 5 months ago

👍 hope this can be merged soon!

github-actions[bot] commented 3 months ago

:tada: This PR is included in version 1.12.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: