dieff
10/23/2018, 8:27 PMIf I don't cast the argument `any` then I get the error ```Argument of type '{ where: { AND: ({ mutation_in: string[]; } | { node: { user: { id: string; }; }; })[]; }; }' is not assignable to parameter of type 'NotificationSubscriptionWhereInput'.
Object literal may only specify known properties, and 'where' does not exist in type 'NotificationSubscriptionWhereInput'
The code works as it is now even with the error. If I take away the where
property, and just make the AND
as the first key then I get no typescript error but the code will not work. Maybe the generated types are incorrect? Also possible I'm just using the library wrong.nilan
10/24/2018, 8:44 AM1.19
yesterday.nilan
10/24/2018, 8:44 AM