YeonHoPark
03/04/2022, 7:33 AMHyo
03/04/2022, 8:03 AMNexusGenObjects
represents pure object type that are mostly similar to database.
NesxusGenFieldTypes
covers extended fields
that could be done by the concept of graphQL field resolver
.
2. Similar to what I've explained earlier. The field return type
looks like all possible return fields that are defined in nexus objectType.
FYI, here is how field resolver can handle extra fields.
https://github.com/dooboolab/hackatalk/blob/92814f395c39c77e3cc1cc57400602aa80860cc5/server/src/models/Channel.ts#L9-L32janpio