5 ms·
Thanks, that looks great. Was recently struggling to add custom graphql functions to hassura (preferably in python). But I guess js is a fair trade.
by devxpy 7y ago
Thanks, that looks great. Was recently struggling to add custom graphql functions to hassura (preferably in python). But I guess js is a fair trade.
- tirumaraiselvan 7y agoHey, have you seen the preview docs of hasura actions? It has a small example of integrating python (or for that matter, any language) for custom mutations.
- devxpy 7y agoHi! Thanks for following up. I can't find anything specifically called "hasura actions". Found this[1], but that has nothing to do with language integration. [1] https://docs.hasura.io/1.0/graphql/manual/guides/auditing-tables.html#auditing-actions-on-tables-in-postgres https://docs.hasura.io/1.0/graphql/manual/guides/auditing-ta...
- tirumaraiselvan 7y agoSorry, it is actually in preview and not officially released yet. You can get the preview image, docs, etc in the PR: https://github.com/hasura/graphql-engine/pull/3042 https://github.com/hasura/graphql-engine/pull/3042
- devxpy 7y agoAre you talking about this [1]? Perhaps it's possible to just use PL/Python[2] to write a custom stored prodecure? [1] https://docs.hasura.io/1.0/graphql/manual/schema/default-values/sql-functions.html https://docs.hasura.io/1.0/graphql/manual/schema/default-val... [2] https://www.postgresql.org/docs/10/plpython.html https://www.postgresql.org/docs/10/plpython.html
- deleted 7y ago[deleted]