Internal Server Error, panic trapped

Hi @JSPromisel ,

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.

Schema:

interface IEntity {
    objectiveID: ID!
}

type PollResponse implements IEntity {
    correct: Boolean @search
    score: Float
}

Mutation:

mutation{
  updatePollResponse(input:{filter:{objectiveID:["0x4"]}, set:{correct:false, score:1}}){
    pollResponse{
      objectiveID
      correct
      score
    }
  }
}

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