I’m stuck with a generic issue concerning an attempt to write a generic repository with Kysely.
Here is the code
My issue is that type checking does not work as I was expected.
At line 49 I have
Argument of type ‘string’ is not assignable to parameter of type ‘OperandValueExpressionOrList<Tables, ExtractTableAlias<Tables, TableName>, “uuid”>’.(2345).
I don’t really understand what I could do to please typescript and kysely here.