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
{{ message }}
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
We now enabled this. Before no matter the list and required status that was defined, we handled the returnValue as optional non-list.
These are the formats we accept and handle now:
PayloadType -> non-list optional. Will accept {data: PayloadType}, {data: null} and soon {} as response.
PayloadType! -> non-list required. Will accept {data: PayloadType} as response.
*[PayloadType!] -> list optional. Will accept {data: [PayloadType]}, {data: []}, {data: null} and soon {} as response.
*[PayloadType!]! -> list required. Will accept {data: [PayloadType]} and {data: []} as response.
Issue by FredyC
Sunday Aug 20, 2017 at 19:54 GMT
Originally opened as https://github.com/graphcool/api-bugs/issues/239
What is the current behavior?
Trying to run a custom query that returns the list of objects ends up with following error:
Please share the relevant part of your GraphQL schema and all functions, permissions or other project settings for easier reproduction
If applicable, share the query, mutation or subscription for reproduction
What is the expected behavior?
Returning list of object is possible.
The text was updated successfully, but these errors were encountered: