'GraphQL - how to write custom resolver interface field
I am writing a custom resolver for interface field but it's never been called.
interface Entity {
resolverPoint(args: EntityType): String
}
This is Resolver
const resolvers = {
Entity: {
resolverPoint: (obj){
return ''
}
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
