supabase / postgrest-js

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

feat: query parser: handle empty embedded resources `()` #499

Closed bnjmnt4n closed 3 months ago

bnjmnt4n commented 7 months ago

What kind of change does this PR introduce?

Feature.

What is the current behavior?

Empty embedded resources, which were added in PostgREST v11, are not supported by the select query parser.

What is the new behavior?

Support is added for empty embedded resources.

Additional context

This PR is stacked on top of #497.

Closes https://github.com/supabase/postgrest-js/issues/445.

steve-chavez commented 3 months ago

@bnjmnt4n Could you rebase here as well? :pray: Then I'll merge.

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: