Closed tgriesser closed 5 years ago
(root: Collection, args: any, context: Context, info: GraphQLResolveInfo) => MaybePromise<Iterable<MaybePromise<Option>>>) | undefined
makeSchema
levelt.field('user', 'User', (root) => ({ .. })
)Now that this is "released", going to close this. We can split out new features into individual tickets.
Just adding a list of things I come across as I work on this with a real-world api
Todo:
Check for undefined on args, for accidentally mixingedit: removed.field
w/.fieldArg
fieldArg
required: true
on input arg membersOption to use existing typegen for arg types?Toggle for pre-TS3.0 features?backingTypes
fs
thingsIdeas / Maybe Todo:
Plugin API, e.g. adding custom fields for type building:(encouraging wrapping)t.date
/t.dateArg
Other things: