You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the GraphQL types don't make use of the required option on Mongoose filters. Is there a reason for this? It would also be nice to have an option to make the types returned from the resolvers required as well, i.e.
storeOne: Store!
storeMany: [Store!]!
instead of the default, which looks something like this:
storeOne: StorestoreMany: [Store]
The main reason I have an issue with this is that handling conditionals for values that will always be returned on the frontend is a huge pain.
The text was updated successfully, but these errors were encountered:
I noticed that the GraphQL types don't make use of the
required
option on Mongoose filters. Is there a reason for this? It would also be nice to have an option to make the types returned from the resolvers required as well, i.e.instead of the default, which looks something like this:
The main reason I have an issue with this is that handling conditionals for values that will always be returned on the frontend is a huge pain.
The text was updated successfully, but these errors were encountered: