Confusion with object types. #889
Unanswered
dimitritsampiras
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a little new to nexus and I'm a bit confused about what
objectType()
is meant for. My assumption was that it's simply meant for defining a scheme type but I've seen a lot of examples where a resolver is included in the object type. For example:Why would we include a resolver here? Shouldn't we do that in a separate
queryType()
? Any help would be appreciated.Beta Was this translation helpful? Give feedback.
All reactions