So custom resolvers are node cloud functions, right?
So custom resolvers are node cloud functions, right?
This is a bit disappointing. I was expecting to just "point" parts of the automatic schema to some cloud functions hosted anywhere (Now v2, Lambda, etc) much like what AppSync does. This would bring all the benefits of going serverless and decoupling the schema from implementation. Some cloud functions could be written in Node, but others could be written in Go in a different provider.
> Some cloud functions could be written in Node, but others could be written in Go in a different provider.
Yep, I write mine in Go with Hasura, works great.
Edit also see: https://news.ycombinator.com/item?id=18495971
Exactly this, we're working on adding remote schema merging into Hasura itself (kind of like AppSync) so this won't be a problem. This should be out very soon!