I went through following tutorial and I currently ...
# orm-help
u
I went through following tutorial and I currently get this error in my apollo after running a query:
Copy code
"message": "\nInvalid `prisma.link.findMany()` invocation:\n\n{\n  take: null\n        ~~~~\n}\n\n
Argument take must not be null. Please use undefined instead.\n\n",
I think it refers to this line in my graphql/resolvers.ts file
Copy code
export const resolvers = {
    Query: {
        links: (_parent, _args, ctx) => {
            return ctx.prisma.link.findMany()
        },
    },
}
1