Open tr3ysmith opened 2 years ago
Why does the findByFields() and other functions provided by "this" return a union of the (TData, undefined, and null)[]?
(TData, undefined, and null)[]
Why not just TData[]?
If this raise a type error with your resolvers typed with graphql-code-generator, I can recommend you this comment.
Why does the findByFields() and other functions provided by "this" return a union of the
(TData, undefined, and null)[]
?Why not just TData[]?