Fran Dios
10/29/2018, 3:58 AMupdateManyEntities in 1.20-beta.1? my generated prisma.graphql changed every updateManyX parameters from data: XUpdateInput to data: XUpdateManyInput and now my app fails (got invalid value {...}; Field "..." is not defined by type XUpdateManyInput.).
I can’t see related breaking changes in the release notes before 1.20-beta.1 so I assume the breaking change is in this version which is not yet published (but development servers are using it)Fran Dios
10/29/2018, 4:03 AMinput ShipmentUpdateManyInput {
create: [ShipmentCreateInput!]
connect: [ShipmentWhereUniqueInput!]
disconnect: [ShipmentWhereUniqueInput!]
delete: [ShipmentWhereUniqueInput!]
update: [ShipmentUpdateWithWhereUniqueNestedInput!]
upsert: [ShipmentUpsertWithWhereUniqueNestedInput!]
}
input RecipientUpdateManyInput {
phoneNumber: String
email: String
}Fran Dios
10/29/2018, 4:04 AMFran Dios
10/29/2018, 4:16 AMdo4gr
do4gr
Fran Dios
10/29/2018, 9:53 AMgenerated/prisma.graphqlFran Dios
10/29/2018, 9:53 AMshipment and shipmentLineItems that contain create, connect, etc in the UpdateManyInputs. Every other entity contains scalar numbers 🤷♂️do4gr
Fran Dios
10/29/2018, 9:59 AMShippingReport which has an array of Shipments. A Shipment has no link back to ShippingReportsFran Dios
10/29/2018, 9:59 AMShipmentLineItems, a Shipment contains many line items but they don’t have link back to the Shipmentdo4gr
do4gr
Fran Dios
10/29/2018, 10:05 AM