I've updated from prisma 2.20.1 to 2.26.0 and `.co...
# random
e
I've updated from prisma 2.20.1 to 2.26.0 and
.count()
query has stopped working for some reason. I'm getting following error:
Copy code
Invalid `prisma.task.aggregate()` invocation:


  Failed to validate the query: `Field does not exist on enclosing type.` at `Query.aggregateTask.AggregateTask._count`
My code is
Copy code
const totalCount = await prisma.task.count({
      where,
    });
can someone help me with that? Documentation says I'm doing everything correctly
1
The problem disappeared after I restarted docker-compose with "--build" flag 🤔