Type "Node" is missing a "resolveType" resolver
See original GitHub issueType "Node" is missing a "resolveType" resolver. Pass false into "resolverValidationOptions.requireResolversForResolveType" to disable this warning.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Type "Node" is missing a "resolveType" resolver. #2225 - GitHub
I use Prisma init my project. select typescript-advanced. When I yarn start I always found this console "Type "Node" is missing a "resolveType"...
Read more >How to add a `resolveType` to GraphQL? - Stack Overflow
I keep getting the error: "message": "Abstract type \"Round\" must resolve to an Object type at runtime for field \"Trivia ...
Read more >API Reference: graphql-tools - Apollo GraphQL Docs
This can be passed in with the field resolvers as __resolveType() . ... missing resolvers from their interface types defined in the resolvers...
Read more >How to add __resolveType resolver for Interfaces?
Interface types requre a __resolveType resolver. ... cases I'm getting a warning stating Type "Tag" is missing a "__resolveType" resolver.
Read more >Resolvers – GraphQL Tools
Writing resolvers with graphql-tools. ... or interface type, you will need to specify an extra __resolveType field in your resolver map, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nodes are used by Relay. In Prisma, there is a
Node
interface. All models that you use implement this interface.The warning warns you that there is not a specific resolver for the
Node
interface.If you don’t have any queries that return a field of type
Node
, that’s not an issue at all.If you do have such fields, you can implement a
Node
interface resolver.@marktani Thank you. The thing is, isn’t it somehow used by Relay?