Supabase volatile function is not being exposed to graphql schema
I am attempting to create a custom graphql mutation query (sql pasted below) but can't seem to get it exposed on the graphql schema.
Context: I have an Event table which tracks event metadata and an EventOccurrences table which allows for recurrence on any individual Event. I am trying to expose a custom graphql mutation which will both create a new Event and all occurrences for that Event based on a recurrence rule. I want it to return a table with all newly created occurrence ids.
I have tried to follow the docs (https://supabase.com/docs/guides/graphql/functions) to ensure that this can be exposed to the graphql schema but can't seem to get it to work. Any thoughts or advice?
View full function here: https://github.com/orgs/supabase/discussions/41249
Context: I have an Event table which tracks event metadata and an EventOccurrences table which allows for recurrence on any individual Event. I am trying to expose a custom graphql mutation which will both create a new Event and all occurrences for that Event based on a recurrence rule. I want it to return a table with all newly created occurrence ids.
I have tried to follow the docs (https://supabase.com/docs/guides/graphql/functions) to ensure that this can be exposed to the graphql schema but can't seem to get it to work. Any thoughts or advice?
View full function here: https://github.com/orgs/supabase/discussions/41249
GitHub
I am attempting to create a custom graphql mutation query (sql pasted below) but can't seem to get it exposed on the graphql schema. Context: I have an Event table which tracks event metadata a...