diff --git a/typegate/tests/runtimes/typegate/__snapshots__/typegate_runtime_test.ts.snap b/typegate/tests/runtimes/typegate/__snapshots__/typegate_runtime_test.ts.snap index dc0c3e2a2..dfea0d656 100644 --- a/typegate/tests/runtimes/typegate/__snapshots__/typegate_runtime_test.ts.snap +++ b/typegate/tests/runtimes/typegate/__snapshots__/typegate_runtime_test.ts.snap @@ -16,7 +16,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: true, runtime: "prisma", - title: "QueryUniquerecordWhereInput", + title: "QueryrecordWhereUniqueInput", type: "object", }, }, @@ -88,7 +88,7 @@ snapshot[`typegate: find available operations 1`] = ` format: "date-time", optional: false, runtime: "prisma", - title: "string_33", + title: "string_69", type: "string", }, }, @@ -198,7 +198,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "_101_recordWithNestedCount[]", + title: "_104_recordWithNestedCount[]", type: "list", }, outputItem: { @@ -267,7 +267,7 @@ snapshot[`typegate: find available operations 1`] = ` format: "date-time", optional: false, runtime: "prisma", - title: "string_33", + title: "string_69", type: "string", }, }, @@ -291,7 +291,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: true, runtime: "prisma", - title: "QueryUniqueusersWhereInput", + title: "QueryusersWhereUniqueInput", type: "object", }, }, @@ -331,7 +331,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "_244_user_identityWithNestedCount_excluding___rel_user_identity_users_1[]", + title: "_282_user_identityWithNestedCount_excluding___rel_user_identity_users_1[]", type: "list", }, }, @@ -379,7 +379,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "_246_messagesWithNestedCount_excluding_messageSender[]", + title: "_284_messagesWithNestedCount_excluding_messageSender[]", type: "list", }, }, @@ -396,7 +396,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: true, runtime: "prisma", - title: "integer_247", + title: "integer_285", type: "integer", }, }, @@ -413,7 +413,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: true, runtime: "prisma", - title: "integer_247", + title: "integer_285", type: "integer", }, }, @@ -523,7 +523,7 @@ snapshot[`typegate: find available operations 1`] = ` format: null, optional: false, runtime: "prisma", - title: "_279_messagesWithNestedCount[]", + title: "_317_messagesWithNestedCount[]", type: "list", }, outputItem: { diff --git a/typegraph/core/src/runtimes/prisma/type_generation/query_where_expr.rs b/typegraph/core/src/runtimes/prisma/type_generation/query_where_expr.rs index 5a5e753e5..389a8ac8e 100644 --- a/typegraph/core/src/runtimes/prisma/type_generation/query_where_expr.rs +++ b/typegraph/core/src/runtimes/prisma/type_generation/query_where_expr.rs @@ -20,7 +20,6 @@ impl QueryWhereExpr { } } - #[allow(dead_code)] pub fn unique(mut self) -> Self { self.unique = true; self