6 ms·
Excellent work! Postgraphile uses a naming convention for postgres functions to extend the GraphQL schema [1]. Do you have any plans to support a similar mech
by aslakhellesoy 4y ago
Excellent work!
Postgraphile uses a naming convention for postgres functions to extend the GraphQL schema [1].
Do you have any plans to support a similar mechanism in pg_graphql?
[1]: https://www.graphile.org/postgraphile/functions/ https://www.graphile.org/postgraphile/functions/
- oliverrice 4y agoThanks! Yes, we currently support extending table types via functions using a naming convention. The docs for that feature are available here https://supabase.github.io/pg_graphql/computed_fields/#extending-types-with-functions https://supabase.github.io/pg_graphql/computed_fields/#exten... It's also on the near-term roadmap to implement custom mutations from user defined functions, similar to postgraphile
- aslakhellesoy 4y agoExcellent - thanks!