From 062a23f898938c02039a1ff996684def21e431f8 Mon Sep 17 00:00:00 2001 From: dariuszkuc <9501705+dariuszkuc@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:21:44 -0500 Subject: [PATCH] cleanup schema --- compatibility/src/main/resources/graphql/schema.graphqls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compatibility/src/main/resources/graphql/schema.graphqls b/compatibility/src/main/resources/graphql/schema.graphqls index 385e2083..a132952e 100644 --- a/compatibility/src/main/resources/graphql/schema.graphqls +++ b/compatibility/src/main/resources/graphql/schema.graphqls @@ -63,9 +63,9 @@ type Query { deprecatedProduct(sku: String!, package: String!): DeprecatedProduct @deprecated(reason: "Use product query instead") } -type User @extends @key(fields: "email") { +type User @key(fields: "email") { averageProductsCreatedPerYear: Int @requires(fields: "totalProductsCreated yearsOfEmployment") - email: ID! @external + email: ID! name: String @override(from: "users") totalProductsCreated: Int @external yearsOfEmployment: Int! @external