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
I have a case where using a VOLATILE SQL function in a computed field would simplify things alot.
I also noticed I can create the function as STABLE, add it as computed field, and then change the function to VOLATILE and it works just fine in hasura.
But feels hacky and hasura complains on metadata reload. Also seem's there's not really much needed to support this except allowing VOLATILE function to be tracked, at least in my case.
Will the work for this issue support this use case as well ?
Any chance volatile functions for computed fields can be enabled? If I do the above trick the computed fields of a table, returned by a custom query function (returns setof) are correct. If my computed fields functions are STABLE they have the value from before the mutation occured.
The text was updated successfully, but these errors were encountered:
Originally posted by @karibertils in #1514 (comment)
Any chance volatile functions for computed fields can be enabled? If I do the above trick the computed fields of a table, returned by a custom query function (
returns setof
) are correct. If my computed fields functions areSTABLE
they have the value from before the mutation occured.The text was updated successfully, but these errors were encountered: