Hacker News new | past | comments | ask | show | jobs | submit login

I considered Hasura but went with postgraphile (https://github.com/graphile/postgraphile) because it's written in JavaScript with a plugin architecture, meaning I can easily add my own plugins into the system down the road. Creating a JavaScript plugin sounds much less daunting that looking into a mature Haskell codebase.



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.


Hey, 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.


Hi! 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-ta...


Sorry, 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


Are 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-val...

[2] https://www.postgresql.org/docs/10/plpython.html




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: