Skip to content

Commit

Permalink
cleanup schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszkuc committed Jun 7, 2024
1 parent cbf4781 commit 062a23f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compatibility/src/main/resources/graphql/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 062a23f

Please sign in to comment.