Hi @maaft, you don’t need in for specifying an array of ids. Graphql will return the below error if you try to do it because in filter is defined for array of type strings.
"message": "Field \"in\" is not defined by type ID.",
you can do it like below.
mutation deleteDocument($ids: [ID!]) {
deleteDocument(filter: { id: $ids }) {
document {
id
title
}
}
}
Thank you. Sorry that I couldn’t come up with a short schema example that reproduces this. (Note that the schema I posted probably works). I suspect that it has to do something with @auth directives which I also use.