DEV Community

loading...

Discussion on: Effortless Real-time GraphQL API with serverless business logic running in any cloud

Collapse
naster01 profile image
Adam Paquette

What about custom logic before saving or inserting data with mutations? I would like to have a default Hasura endpoint for all normal querying stuff but the possibility to add custom mutations that I control the flow in C# or NodeJS.

Collapse
vladimirnovick profile image
Vladimir Novick Author

You definitely can do that by using custom resolvers using remote schemas, writing custom sql functions that will generate mutations and use event triggers to trigger serverless functions to execute your custom logic on dB manipulations leveraging 3factor.app architecture. I will soon write blog post how exactly you can do all of these

Collapse
vladimirnovick profile image
Vladimir Novick Author

I promised a blog post so here you go dev.to/vladimirnovick/different-wa...