I would like to be able to access data from the database within an Action Handler in Hasura. Is the best approach:
I'm not sure there is a best approach. Personally, I use the API exposed by Hasura in action handlers. I've chosen to do this because:
I have thought many times about your question though, because there is something a little odd about calling back into Hasura to handle a Hasura action. But the reasons mentioned above are substantial gains in my opinion, so I've stuck with this approach.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With