Hi,
20.07.0 will come with support to define custom resolvers as call outs to http endpoints. That’ll mean you can do things like:
- custom fields/queries/mutations that represent some in-code computation
- customs that integrate another REST endpoint or another GraphQL endpoint
- customs that call back to the same Dgraph instance
For the 20.11.0 release we are thinking of allowing custom code that runs in Dgraph, so you can implement some things locally without calling out to an external service. That’ll really match the usecase you mention above.
Our first thought is that we would support javascript (because it’s the most widely used language in the GraphQL ecosystem). Would that work with your thoughts?