-
Notifications
You must be signed in to change notification settings - Fork 180
Closed
Description
AFAICT graphql-js
allows you to leave out resolveType
here:
In which case it will fall back to using getTypeOf
/isTypeOf
The problem is, nodeDefinitions
doesn't seem to allow you to leave out the typeResolver
function:
graphql-relay-js/src/node/node.js
Line 55 in 3dd1fc3
resolveType: typeResolver |
Making this optional would certainly reduce a lot of boilerplate code
Metadata
Metadata
Assignees
Labels
No labels