Closed
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Using the new PostgREST spread operator works, but leads to a Typescript error:
error TS2339: Property 'invitees' does not exist on type 'ParserError<"Expected identifier at
...contact(id,name,email,contact_user_id))">
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Add spread (
...
) to aselect()
. - Compile with
tsc
Expected behavior
Types should successfully be generated when queries include the spread operator.
System information
- Version of supabase-js: 2.32.0
- Version of Node.js: Cloudflare Workers