Error: Internal Server Error - a panic was trapped. This indicates a bug in the GraphQL server. A stack trace was logged. Please let us know by filing an issue with the stack trace.
I have seen past issues where it was caused by IDs not being passed in as lists, but I checked and the IDs passed in the filter are being passed as a list. Not sure how to debug this.
Thanks for providing the schema of PollResponse and the Dgraph version. Can you also provide schema of interfaces IMetadata and IEntity (whichever has objectiveID in it) ?
As those interface types were not described, I tried reproducing this with the following simplistic schema, but couldn’t reproduce. The update mutation worked fine.
I can also see that in a separate discuss post Auth rule fails to filter on field in type , objectiveID if part of User and User is part of PollResponse .
Note that Dgraph does not support nested filters in mutations currently. It is not possible to filter PollResponse using fields of User