I am using the following Graphql schema:
Connection {
items: [String]
}
connected to the DynamoDB response resolver:
{
}
which is obviously empty, but still, the GraphiQL console of AWS returns an array with one null element:
{
data: {
items: [null]
}
}
Is this an intended behavior? I would expect the returned result to be
{
data: {
items: null
}
}
(without the array, just null). How do I get Appsync to only return null?