Creating custom resolvers for Dgraph GraphQL


(Kat) #1

Checking out the GraphQL tutorial here… https://graphql.dgraph.io but there doesn’t seem to be any examples of how I would add custom resolvers. Any idea when we’ll get some examples for custom resolvers? Thanks!


(Michel Conrado) #2

I can be wrong, but I believe we have no support for this.

One way to get around this is to create a graphql instance with your custom resolvers and mix it using Apollo Federation.

Cheers.


(Michael Compton) #3

Thanks @MichelDiz, yes that’s right at the moment. We are looking at providing nice support here, but there’s nothing concrete yet.