Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Arrays not getting encoded correctly for in() #8

@awalias

Description

@awalias
    const response = await supabase
      .from('users')
      .filter('id', 'lt', 3)
      .filter('username', 'in', ["awalias","supabot"])
      .select('*')

and

    const response = await supabase
      .from('users')
      .in('id', ['2', '3'])
      .select('*')

both return similar

      text: '{"details":"unexpected \\"2\\" expecting \\"(\\"","message":"\\"failed to parse filter (in.2,3)\\" (line 1, column 4)"}',
      method: 'GET',
      path: '/rest/v1/users?apikey=examplekey&id=in.2,3&select=%2A'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions