Is it possible to use OpenFaaS with Slash GraphQL?

Not keen on this solution, as it seems it’d make us more vulnerable to broken builds. I think Dgraph Lambdas make sense for small things like dynamic values on fields like @mrjn is doing here: https://youtu.be/-rOfbp9Fa_8?t=1718

@amaster507 directed me to Custom Directives, this is fantastic feature (makes it possible to forward Dgraph requests to an external http endpoint). Given we are building a backend that makes use of Event Driven Architecture and we want to separate our backend into isolated composable modules (which will make it easier for us to experiment with ML models), it makes more sense to keep all this logic in an external API.

EDIT: For anyone else trying to get their head around how Dgraph makes different architecture patterns possible, @bkennedy’s talk here is really elucidating

2 Likes