You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Computed fields: Function name dropdown does not show the available functions for selection #6769
@gregoryforel the console only displays functions that are valid to be added as computed fields for the table. Can you confirm your functions meet the requirments as described in the docs?
I've got the same issue, and was collecting proofs to report it here,
but then I noticed the "optionally schema-qualified" note in the CREATE FUNCTION: argtype docs
In my case, the table is "public"."record",
I specified the schema for the function itself,
but not for its table argument:
CREATE OR REPLACEFUNCTION "public"."get_record_foo"("record" record, "hasura_session" json)
I checked the API response Hasura Console uses to populate this "Function Name" dropdown
and found that record type was taken from built-in pg_catalog schema:
I hope this will help to people that found this issue page for a similar reason
@rikinsk, could you please update Hasura docs to help others to avoid this trap:
in the line "Table Argument: One input argument with a table row type"
please add "(optionally schema-qualified to avoid confusion with built-in types like record)"
I'm trying to add a
computed fieldwith Hasura cloudv2.0.0-cloud.2.I've already added some custom functions, but none are available for selection in the
Function namedropdown.My functions:

Empty list of functions:

Thank you!