Skip to content

Impossible to use Supabase row data type in custom functions. #1512

@orthemius

Description

@orthemius

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Tried to manipulate the supabase row as an object via code, but I cannot even pass it to custom function as an argument.

Tried test it on tab 'Test Function' but only got "Error running the function. Please contact support@flutterflow.io"

Expected Behavior

Pass supabase row object to function, and return it.

Test function on 'Test Function' tab.

Steps to Reproduce

  1. Setup integration to supabase with any table
  2. Create custom function with argument of Supabase Row (any table) type.
  3. Try test in 'Test Function' tab with any data in parameter.
  4. Get "Error running the function. Please contact support@flutterflow.io"
    image

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4ClPLq25dgocNG1pPqYPpVgmAXQkA1RYERl+5HSQEaDZPMC+wIZ/f7XFRuTde0SlZ+eWD9oHo0pvPemvPhLcIEPUuqc7ZxzLhAeA6WfDuhaJioPJCOZW5/Dd5RIXafyqa7oBIlPbNiR3BgwDiYe9yRSgvDHof6PVcZAcmhA5OK2SrDX1iXc2URm05KZDPz

Context

Need some manipulations with supabase row objects like create new, copy the same fields, return an object and so on.
Especially when need to pass supabase row object to Page via Navigate to

Visual documentation

image
image
image

Additional Info

No response

Environment

- FlutterFlow version: 4.0
- Platform: Web
- Browser name and version: Chrome  108.0.5359.125
- Operating system and version affected: Windows 10

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions