Closed n1ru4l closed 3 years ago
t.field("notes", { type: t.NonNull(t.String), args: { first: t.arg(t.Int), after: t.arg(t.String) }, resolve: (_, args, context) => { args.after // is typed as string | null but is actually undefined | null | string }, })
See https://github.com/sikanhe/gqtx/pull/35