I’m trying to write some simple code to wrap https://github.com/prismagraphql/prisma-binding, and here’s what I’ve got:
As yo ucan see on line 21, I’m trying to annotation the “query” function, which will dynamically pass the query name, arguments, and selection to the prisma binding. But I’m getting the old compiler error This expression's type contains type variables that can't be generalized
.
Any ideas about how to better go about this?