How to fix 'Variable “$_v0_data” got invalid value' caused from data types relation - Mutation Resolver
问题 I am trying to setup relations between types and wrote a resolver to run a mutation that create the list values but getting the below error here is my mutation file async createList(parent, args, ctx, info) { const list = await ctx.db.mutation.createList( { data: { project: { connect: { id: args.projectId } }, ...args } }, info ); return list; } and here is my datamodel type Board { id: ID! @id title: String! createdAt: DateTime! @createdAt updatedAt: DateTime! @updatedAt lists: [List]! }