From 73d930ee48cbb63d82793ac536a77358c1ca4f70 Mon Sep 17 00:00:00 2001 From: Darrell Warde Date: Thu, 14 Nov 2024 16:18:46 +0000 Subject: [PATCH 1/5] Remove unused deprecation --- packages/graphql/src/schema/constants.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/graphql/src/schema/constants.ts b/packages/graphql/src/schema/constants.ts index 4a10ca8c05..8959465a8f 100644 --- a/packages/graphql/src/schema/constants.ts +++ b/packages/graphql/src/schema/constants.ts @@ -26,13 +26,6 @@ export const DEPRECATE_IMPLICIT_EQUAL_FILTERS = { }, }; -export const DEPRECATE_DIRECTED_ARGUMENT = { - name: DEPRECATED, - args: { - reason: "The directed argument is deprecated, and the direction of the field will be configured in the GraphQL server", - }, -}; - export const DEPRECATE_IMPLICIT_SET = { name: DEPRECATED, args: { From ffc7efe004a7fdf3c378db381dd4ed424dee9a5d Mon Sep 17 00:00:00 2001 From: Darrell Warde Date: Fri, 15 Nov 2024 11:21:43 +0000 Subject: [PATCH 2/5] Remove implicit filter fields --- packages/graphql/src/schema/constants.ts | 7 - .../src/schema/generation/aggregate-types.ts | 12 +- .../graphql/src/schema/get-where-fields.ts | 8 - .../src/schema/resolvers/query/global-node.ts | 2 +- .../validation/schema-validation.test.ts | 385 +++++------ packages/graphql/src/types/index.ts | 1 - .../implicit-count-eq.int.test.ts | 2 +- .../implicit-eq-filtering.int.test.ts | 346 ---------- .../authorization/claim.int.test.ts | 4 +- .../cypher-filtering-auth.int.test.ts | 12 +- .../cypher-filtering-list-auth.int.test.ts | 2 +- ...tering-one-to-one-relationship.int.test.ts | 2 +- .../directives/vector/vector-auth.int.test.ts | 2 +- .../tests/integration/issues/1221.int.test.ts | 8 +- .../tests/integration/issues/1430.int.test.ts | 8 +- .../tests/integration/issues/5599.int.test.ts | 4 +- .../tests/integration/issues/5681.int.test.ts | 8 +- .../tests/integration/issues/5698.int.test.ts | 4 +- .../tests/integration/issues/988.int.test.ts | 2 +- .../graphql/tests/schema/aggregations.test.ts | 33 - .../tests/schema/array-methods.test.ts | 7 - packages/graphql/tests/schema/arrays.test.ts | 3 - .../tests/schema/authorization.test.ts | 10 +- .../graphql/tests/schema/comments.test.ts | 19 - .../tests/schema/connections/enums.test.ts | 5 - .../schema/connections/interfaces.test.ts | 13 - .../tests/schema/connections/sort.test.ts | 3 - .../tests/schema/connections/unions.test.ts | 6 - .../tests/schema/custom-mutations.test.ts | 1 - .../tests/schema/directive-preserve.test.ts | 42 -- .../tests/schema/directives/alias.test.ts | 7 - .../schema/directives/autogenerate.test.ts | 2 - .../schema/directives/customResolver.test.ts | 4 - .../tests/schema/directives/cypher.test.ts | 41 -- .../tests/schema/directives/default.test.ts | 11 - .../schema/directives/filterable.test.ts | 129 +--- .../tests/schema/directives/plural.test.ts | 10 - .../schema/directives/populatedBy.test.ts | 22 - .../tests/schema/directives/private.test.ts | 5 - .../directives/relationship-aggregate.test.ts | 28 - .../relationship-nested-operations.test.ts | 115 ---- .../relationship-properties.test.ts | 20 - .../schema/directives/relationship.test.ts | 7 - .../schema/directives/selectable.test.ts | 44 -- .../tests/schema/directives/settable.test.ts | 86 --- .../schema/directives/timestamps.test.ts | 3 - packages/graphql/tests/schema/enum.test.ts | 1 - packages/graphql/tests/schema/extend.test.ts | 2 - .../graphql/tests/schema/federation.test.ts | 7 - .../graphql/tests/schema/fulltext.test.ts | 2 - .../graphql/tests/schema/global-node.test.ts | 2 - .../graphql/tests/schema/inheritance.test.ts | 5 - packages/graphql/tests/schema/inputs.test.ts | 1 - .../schema/interface-relationships.test.ts | 100 --- .../graphql/tests/schema/interfaces.test.ts | 8 - .../graphql/tests/schema/issues/1038.test.ts | 4 - .../graphql/tests/schema/issues/1182.test.ts | 7 - .../graphql/tests/schema/issues/1614.test.ts | 3 - .../graphql/tests/schema/issues/162.test.ts | 5 - .../graphql/tests/schema/issues/200.test.ts | 4 - .../graphql/tests/schema/issues/2187.test.ts | 6 - .../graphql/tests/schema/issues/2377.test.ts | 14 - .../graphql/tests/schema/issues/2969.test.ts | 5 - .../graphql/tests/schema/issues/2981.test.ts | 6 - .../graphql/tests/schema/issues/2993.test.ts | 6 - .../graphql/tests/schema/issues/3428.test.ts | 7 - .../graphql/tests/schema/issues/3439.test.ts | 67 -- .../graphql/tests/schema/issues/3537.test.ts | 12 - .../graphql/tests/schema/issues/3541.test.ts | 7 - .../graphql/tests/schema/issues/3698.test.ts | 42 -- .../graphql/tests/schema/issues/3816.test.ts | 8 - .../graphql/tests/schema/issues/3817.test.ts | 3 - .../graphql/tests/schema/issues/4511.test.ts | 14 - .../graphql/tests/schema/issues/4615.test.ts | 12 - .../graphql/tests/schema/issues/5428.test.ts | 1 - .../graphql/tests/schema/issues/5631.test.ts | 1 - .../graphql/tests/schema/issues/609.test.ts | 1 - .../graphql/tests/schema/issues/872.test.ts | 6 - .../tests/schema/lowercase-type-names.test.ts | 9 - packages/graphql/tests/schema/math.test.ts | 23 - .../schema/nested-aggregation-on-type.test.ts | 6 - packages/graphql/tests/schema/null.test.ts | 13 - .../schema/pluralize-consistency.test.ts | 3 - .../tests/schema/query-direction.test.ts | 4 - .../remove-deprecated/array-methods.test.ts | 7 - .../schema/remove-deprecated/comments.test.ts | 19 - .../implicit-equality.test.ts | 613 ------------------ .../remove-deprecated/implicit-set.test.ts | 5 - packages/graphql/tests/schema/scalar.test.ts | 4 - packages/graphql/tests/schema/simple.test.ts | 4 - .../tests/schema/string-comparators.test.ts | 8 - .../tests/schema/subscriptions.test.ts | 80 --- .../graphql/tests/schema/types/bigint.test.ts | 2 - .../graphql/tests/schema/types/date.test.ts | 2 - .../tests/schema/types/datetime.test.ts | 2 - .../tests/schema/types/duration.test.ts | 2 - .../tests/schema/types/localdatetime.test.ts | 2 - .../tests/schema/types/localtime.test.ts | 2 - .../graphql/tests/schema/types/point.test.ts | 4 - .../graphql/tests/schema/types/time.test.ts | 2 - .../union-interface-relationship.test.ts | 20 - packages/graphql/tests/schema/unions.test.ts | 2 - packages/graphql/tests/schema/vector.test.ts | 2 - .../filtering/cypher-filtering-auth.test.ts | 25 +- .../cypher-filtering-connect.test.ts | 4 +- .../cypher-filtering-list-auth.test.ts | 6 +- .../filtering/cypher-filtering-misc.test.ts | 16 +- ...-filtering-one-to-one-relationship.test.ts | 4 +- .../filtering/cypher-filtering-scalar.test.ts | 4 +- .../cypher-filtering-sorting.test.ts | 2 +- .../cypher-filtering-temporal.test.ts | 2 +- .../graphql/tests/tck/issues/1430.test.ts | 4 +- .../graphql/tests/tck/issues/3215.test.ts | 2 +- .../graphql/tests/tck/issues/4268.test.ts | 18 +- .../graphql/tests/tck/issues/5515.test.ts | 2 +- .../graphql/tests/tck/issues/5599.test.ts | 12 +- packages/graphql/tests/tck/issues/988.test.ts | 2 +- 117 files changed, 297 insertions(+), 2510 deletions(-) delete mode 100644 packages/graphql/tests/integration/deprecations/implicit-eq-filtering.int.test.ts delete mode 100644 packages/graphql/tests/schema/remove-deprecated/implicit-equality.test.ts diff --git a/packages/graphql/src/schema/constants.ts b/packages/graphql/src/schema/constants.ts index 8959465a8f..8a377ecf98 100644 --- a/packages/graphql/src/schema/constants.ts +++ b/packages/graphql/src/schema/constants.ts @@ -19,13 +19,6 @@ import { DEPRECATED } from "../constants"; -export const DEPRECATE_IMPLICIT_EQUAL_FILTERS = { - name: DEPRECATED, - args: { - reason: "Please use the explicit _EQ version", - }, -}; - export const DEPRECATE_IMPLICIT_SET = { name: DEPRECATED, args: { diff --git a/packages/graphql/src/schema/generation/aggregate-types.ts b/packages/graphql/src/schema/generation/aggregate-types.ts index e402ab5516..bb3bce3973 100644 --- a/packages/graphql/src/schema/generation/aggregate-types.ts +++ b/packages/graphql/src/schema/generation/aggregate-types.ts @@ -33,10 +33,8 @@ import type { RelationshipAdapter } from "../../schema-model/relationship/model- import { RelationshipDeclarationAdapter } from "../../schema-model/relationship/model-adapters/RelationshipDeclarationAdapter"; import type { Neo4jFeaturesSettings } from "../../types"; import type { AggregationTypesMapper } from "../aggregations/aggregation-types-mapper"; -import { DEPRECATE_IMPLICIT_EQUAL_FILTERS } from "../constants"; import { numericalResolver } from "../resolvers/field/numerical"; import { graphqlDirectivesToCompose } from "../to-compose"; -import { shouldAddDeprecatedFields } from "./utils"; export function withAggregateSelectionType({ entityAdapter, @@ -111,12 +109,6 @@ export function withAggregateInputType({ }, }); - if (shouldAddDeprecatedFields(features, "implicitEqualFilters")) { - aggregateWhereInput.addFields({ - count: { type: GraphQLInt, directives: [DEPRECATE_IMPLICIT_EQUAL_FILTERS] }, - }); - } - aggregateWhereInput.addFields({ AND: aggregateWhereInput.NonNull.List, OR: aggregateWhereInput.NonNull.List, @@ -251,8 +243,8 @@ function addAggregationFieldsByType( const averageType = attribute.typeHelper.isBigInt() ? "BigInt" : attribute.typeHelper.isDuration() - ? "Duration" - : GraphQLFloat; + ? "Duration" + : GraphQLFloat; fields[`${attribute.name}_AVERAGE_${operator}`] = { type: averageType, directives: deprecatedDirectives }; } return fields; diff --git a/packages/graphql/src/schema/get-where-fields.ts b/packages/graphql/src/schema/get-where-fields.ts index 7415c9f379..13437cc0a2 100644 --- a/packages/graphql/src/schema/get-where-fields.ts +++ b/packages/graphql/src/schema/get-where-fields.ts @@ -23,8 +23,6 @@ import { DEPRECATED } from "../constants"; import type { AttributeAdapter } from "../schema-model/attribute/model-adapters/AttributeAdapter"; import { ConcreteEntityAdapter } from "../schema-model/entity/model-adapters/ConcreteEntityAdapter"; import type { Neo4jFeaturesSettings } from "../types"; -import { DEPRECATE_IMPLICIT_EQUAL_FILTERS } from "./constants"; -import { shouldAddDeprecatedFields } from "./generation/utils"; import { graphqlDirectivesToCompose } from "./to-compose"; // TODO: refactoring needed! @@ -81,12 +79,6 @@ export function getWhereFieldsForAttributes({ } } - if (shouldAddDeprecatedFields(features, "implicitEqualFilters")) { - result[field.name] = { - type: field.getInputTypeNames().where.pretty, - directives: deprecatedDirectives.length ? deprecatedDirectives : [DEPRECATE_IMPLICIT_EQUAL_FILTERS], - }; - } result[`${field.name}_EQ`] = { type: field.getInputTypeNames().where.pretty, directives: deprecatedDirectives, diff --git a/packages/graphql/src/schema/resolvers/query/global-node.ts b/packages/graphql/src/schema/resolvers/query/global-node.ts index fac207ab84..47503ec55c 100644 --- a/packages/graphql/src/schema/resolvers/query/global-node.ts +++ b/packages/graphql/src/schema/resolvers/query/global-node.ts @@ -60,7 +60,7 @@ export function globalNodeResolver({ entities }: { entities: ConcreteEntityAdapt const resolveTree = { name: entityAdapter.plural, alias: "node", - args: { where: { [field]: id } }, + args: { where: { [`${field}_EQ`]: id } }, fieldsByTypeName, }; diff --git a/packages/graphql/src/schema/validation/schema-validation.test.ts b/packages/graphql/src/schema/validation/schema-validation.test.ts index d56a1661c2..c476854512 100644 --- a/packages/graphql/src/schema/validation/schema-validation.test.ts +++ b/packages/graphql/src/schema/validation/schema-validation.test.ts @@ -39,7 +39,7 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @authorization(filter: [{ where: { jwt: { myClaim: "something" } } }]) @node { + type User @authorization(filter: [{ where: { jwt: { myClaim_EQ: "something" } } }]) @node { id: ID! name: String! } @@ -65,7 +65,9 @@ describe("schema validation", () => { ${jwtType} type User @node - @authorization(filter: [{ where: { jwt: { myClaim: "something" }, node: { name: "John" } } }]) { + @authorization( + filter: [{ where: { jwt: { myClaim_EQ: "something" }, node: { name_EQ: "John" } } }] + ) { id: ID! name: String! } @@ -91,7 +93,7 @@ describe("schema validation", () => { ${jwtType} type User @node - @authorization(filter: [{ where: { jwt: { thisClaimDoesNotExist: "something" } } }]) { + @authorization(filter: [{ where: { jwt: { thisClaimDoesNotExist_EQ: "something" } } }]) { id: ID! name: String! } @@ -110,14 +112,14 @@ describe("schema validation", () => { expect(errors[0]).not.toBeInstanceOf(NoErrorThrownError); expect(errors[0]).toHaveProperty( "message", - 'Invalid argument: filter, error: Field "thisClaimDoesNotExist" is not defined by type.' + 'Invalid argument: filter, error: Field "thisClaimDoesNotExist_EQ" is not defined by type.' ); expect(errors[0]).toHaveProperty("path", ["User", "@authorization", "filter", 0, "where", "jwt"]); }); test("should return no error when jwt field iss is used", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { jwt: { iss: "Something" } } }]) { + type User @authorization(filter: [{ where: { jwt: { iss_EQ: "Something" } } }]) { id: ID! name: String! } @@ -140,7 +142,7 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @authorization(filter: [{ where: { jwt: { iss: "something" } } }]) @node { + type User @authorization(filter: [{ where: { jwt: { iss_EQ: "something" } } }]) @node { id: ID! name: String! } @@ -164,7 +166,7 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @authorization(filter: [{ where: { node: { myClaim: "something" } } }]) @node { + type User @authorization(filter: [{ where: { node: { myClaim_EQ: "something" } } }]) @node { id: ID! name: String! } @@ -183,7 +185,7 @@ describe("schema validation", () => { expect(errors[0]).not.toBeInstanceOf(NoErrorThrownError); expect(errors[0]).toHaveProperty( "message", - 'Invalid argument: filter, error: Field "myClaim" is not defined by type.' + 'Invalid argument: filter, error: Field "myClaim_EQ" is not defined by type.' ); expect(errors[0]).toHaveProperty("path", ["User", "@authorization", "filter", 0, "where", "node"]); }); @@ -222,7 +224,7 @@ describe("schema validation", () => { } `; const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testInt: "$jwt.intClaim" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testInt_EQ: "$jwt.intClaim" } } }]) { id: ID! name: String! testInt: Int @@ -241,7 +243,7 @@ describe("schema validation", () => { test("should not returns errors when is correctly used: standard field sub on OBJECT", () => { const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testStr: "$jwt.sub" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testStr_EQ: "$jwt.sub" } } }]) { id: ID! name: String! testStr: String @@ -264,7 +266,7 @@ describe("schema validation", () => { } `; const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testInt: "$jwt.intClaim" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testInt_EQ: "$jwt.intClaim" } } }]) { id: ID! name: String! testInt: [Int] @@ -288,7 +290,7 @@ describe("schema validation", () => { } `; const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testBool: "$jwt.boolClaim" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testBool_EQ: "$jwt.boolClaim" } } }]) { id: ID! name: String! testBool: Boolean @@ -307,7 +309,7 @@ describe("schema validation", () => { test("should return error when types do not match: standard field sub on OBJECT", () => { const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testInt: "$jwt.sub" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testInt_EQ: "$jwt.sub" } } }]) { id: ID! name: String! testInt: Int @@ -334,7 +336,7 @@ describe("schema validation", () => { 0, "where", "node", - "testInt", + "testInt_EQ", ]); }); @@ -345,7 +347,7 @@ describe("schema validation", () => { } `; const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testInts: "$jwt.intClaim" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testInts_EQ: "$jwt.intClaim" } } }]) { id: ID! name: String! testInts: Int @@ -373,7 +375,7 @@ describe("schema validation", () => { 0, "where", "node", - "testInts", + "testInts_EQ", ]); }); @@ -384,7 +386,7 @@ describe("schema validation", () => { } `; const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testInt: "$jwt.stringClaim" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testInt_EQ: "$jwt.stringClaim" } } }]) { id: ID! name: String! testInt: Int @@ -412,7 +414,7 @@ describe("schema validation", () => { 0, "where", "node", - "testInt", + "testInt_EQ", ]); }); @@ -424,7 +426,7 @@ describe("schema validation", () => { `; const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ where: { node: { testInt: "$jwt.sub" } } }]) + id: ID! @authorization(filter: [{ where: { node: { testInt_EQ: "$jwt.sub" } } }]) name: String! testInt: Int } @@ -454,7 +456,7 @@ describe("schema validation", () => { 0, "where", "node", - "testInt", + "testInt_EQ", ]); }); @@ -466,7 +468,7 @@ describe("schema validation", () => { `; const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ where: { node: { testStr: "$jwt.intClaim" } } }]) + id: ID! @authorization(filter: [{ where: { node: { testStr_EQ: "$jwt.intClaim" } } }]) name: String! testStr: String } @@ -496,7 +498,7 @@ describe("schema validation", () => { 0, "where", "node", - "testStr", + "testStr_EQ", ]); }); @@ -508,7 +510,7 @@ describe("schema validation", () => { `; const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ where: { node: { testStr: "$jwt.intClaim" } } }]) + id: ID! @authorization(filter: [{ where: { node: { testStr_EQ: "$jwt.intClaim" } } }]) name: String! testStr: String } @@ -538,7 +540,7 @@ describe("schema validation", () => { 0, "where", "node", - "testStr", + "testStr_EQ", ]); }); @@ -550,7 +552,7 @@ describe("schema validation", () => { `; const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ where: { node: { testStr: "$jwt.boolClaim" } } }]) + id: ID! @authorization(filter: [{ where: { node: { testStr_EQ: "$jwt.boolClaim" } } }]) name: String! testStr: String } @@ -580,7 +582,7 @@ describe("schema validation", () => { 0, "where", "node", - "testStr", + "testStr_EQ", ]); }); @@ -591,7 +593,7 @@ describe("schema validation", () => { } `; const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testBool: "$jwt.stringClaim" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testBool_EQ: "$jwt.stringClaim" } } }]) { id: ID! name: String! testBool: Boolean @@ -620,7 +622,7 @@ describe("schema validation", () => { 0, "where", "node", - "testBool", + "testBool_EQ", ]); }); @@ -631,7 +633,7 @@ describe("schema validation", () => { } `; const userDocument = gql` - type User @node @authorization(filter: [{ where: { node: { testBool: "$jwt.intClaim" } } }]) { + type User @node @authorization(filter: [{ where: { node: { testBool_EQ: "$jwt.intClaim" } } }]) { id: ID! name: String! testBool: Boolean @@ -660,7 +662,7 @@ describe("schema validation", () => { 0, "where", "node", - "testBool", + "testBool_EQ", ]); }); }); @@ -670,7 +672,7 @@ describe("schema validation", () => { describe("on OBJECT", () => { test("should not returns errors when is correctly used", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -688,7 +690,7 @@ describe("schema validation", () => { test("should not returns errors when is correctly used, with specifiedDirective", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! @deprecated(reason: "name is deprecated") } @@ -706,12 +708,12 @@ describe("schema validation", () => { test("should not returns errors when used correctly in several place", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } - type Post @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type Post @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -731,7 +733,7 @@ describe("schema validation", () => { const userDocument = gql` type User @node - @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -764,7 +766,7 @@ describe("schema validation", () => { type User @node @plural(value: "Users") - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -786,7 +788,7 @@ describe("schema validation", () => { type User @node @plural(value: "Users") - @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -819,7 +821,7 @@ describe("schema validation", () => { test("should not returns errors with a correct usage", () => { const userDocument = gql` type User @node { - id: ID! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: ID! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -838,7 +840,7 @@ describe("schema validation", () => { test("should validate directive argument name", () => { const userDocument = gql` type User @node { - id: ID! @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: ID! @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -872,7 +874,7 @@ describe("schema validation", () => { name: String! posts: [Post!]! @relationship(type: "HAS_POSTS", direction: IN) - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } type Post @node { @@ -897,7 +899,7 @@ describe("schema validation", () => { name: String! posts: [Post!]! @relationship(type: "HAS_POSTS", direction: IN) - @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } type Post @node { @@ -936,7 +938,7 @@ describe("schema validation", () => { name: String! } - interface Member @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + interface Member @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! } @@ -965,7 +967,7 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend type User @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -980,7 +982,7 @@ describe("schema validation", () => { test("should returns errors when used correctly in both type and extension", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -989,7 +991,7 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend type User @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1013,7 +1015,7 @@ describe("schema validation", () => { const userDocument = gql` type User @node { id: ID! - name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } type Post @node { @@ -1021,7 +1023,7 @@ describe("schema validation", () => { name: String! } extend type User { - name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } `; @@ -1044,7 +1046,7 @@ describe("schema validation", () => { test("should not returns errors when used correctly in both type and an extension field", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1054,7 +1056,7 @@ describe("schema validation", () => { name: String! } extend type User { - name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } `; @@ -1070,7 +1072,7 @@ describe("schema validation", () => { test("should not returns errors when used correctly in multiple extension fields", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1080,8 +1082,8 @@ describe("schema validation", () => { name: String! } extend type User { - id: ID! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) - name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: ID! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) + name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } `; @@ -1097,7 +1099,7 @@ describe("schema validation", () => { test("should not returns errors when used correctly in different type and field across several extensions", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1108,11 +1110,11 @@ describe("schema validation", () => { } extend type User { - name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } extend type User { - id: String! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: String! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } `; @@ -1138,8 +1140,8 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) - extend type User @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend type User @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) + extend type User @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1165,7 +1167,8 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend type User + @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1198,7 +1201,7 @@ describe("schema validation", () => { } extend type User @plural(value: "Users") - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1219,7 +1222,7 @@ describe("schema validation", () => { } extend type User @plural(value: "Users") - @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1257,7 +1260,7 @@ describe("schema validation", () => { id: ID! } extend interface Member - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) type Post @node { author: Member @relationship(type: "HAS_AUTHOR", direction: IN) @@ -1280,17 +1283,17 @@ describe("schema validation", () => { describe("mixed usage", () => { test("should not returns errors when used correctly in several place", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } - type Post @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type Post @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! - name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) author: User! @relationship(type: "HAS_AUTHOR", direction: IN) - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } type Document implements File @node { @@ -1303,7 +1306,7 @@ describe("schema validation", () => { } extend type Document - @subscriptionsAuthorization(filter: [{ where: { node: { name: "$jwt.sub" } } }]) + @subscriptionsAuthorization(filter: [{ where: { node: { name_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1317,18 +1320,18 @@ describe("schema validation", () => { }); test("should returns errors when incorrectly used in several place", () => { const userDocument = gql` - type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type User @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } - type Post @node @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + type Post @node @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! - @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) author: User! @relationship(type: "HAS_AUTHOR", direction: IN) - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } type Document implements File @node { @@ -1341,7 +1344,7 @@ describe("schema validation", () => { } extend type Document - @subscriptionsAuthorization(filter: [{ where: { node: { name: "$jwt.sub" } } }]) + @subscriptionsAuthorization(filter: [{ where: { node: { name_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1375,7 +1378,7 @@ describe("schema validation", () => { type User @node @shareable - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1410,7 +1413,7 @@ describe("schema validation", () => { type User @node @shareable - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! @deprecated(reason: "name is deprecated") } @@ -1445,14 +1448,14 @@ describe("schema validation", () => { type User @node @shareable - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } type Post @node - @subscriptionsAuthorization(filter: [{ where: { node: { content: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(filter: [{ where: { node: { content_EQ: "$jwt.sub" } } }]) { content: String! author: User! @relationship(type: "HAS_AUTHOR", direction: OUT) } @@ -1482,7 +1485,7 @@ describe("schema validation", () => { type User @node @shareable - @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1530,7 +1533,7 @@ describe("schema validation", () => { @node @plural(value: "Users") @shareable - @subscriptionsAuthorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1566,7 +1569,7 @@ describe("schema validation", () => { @node @plural(value: "Users") @shareable - @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @subscriptionsAuthorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1612,7 +1615,7 @@ describe("schema validation", () => { describe("on OBJECT", () => { test("should not returns errors when is correctly used", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -1629,7 +1632,7 @@ describe("schema validation", () => { test("should not returns errors when is correctly used, with specifiedDirective", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! @deprecated(reason: "name is deprecated") } @@ -1646,12 +1649,12 @@ describe("schema validation", () => { test("should not returns errors when used correctly in several place", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } - type Post @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type Post @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -1668,7 +1671,7 @@ describe("schema validation", () => { test("should validate directive argument name", () => { const userDocument = gql` - type User @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -1693,7 +1696,7 @@ describe("schema validation", () => { test("should validate operations value", () => { const userDocument = gql` type User - @authorization(filter: [{ operations: [NEVER], where: { node: { id: "$jwt.sub" } } }]) + @authorization(filter: [{ operations: [NEVER], where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! @@ -1722,7 +1725,7 @@ describe("schema validation", () => { type User @node @plural(value: "Users") - @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1743,7 +1746,7 @@ describe("schema validation", () => { type User @node @plural(value: "Users") - @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -1770,7 +1773,7 @@ describe("schema validation", () => { test("should not returns errors with a correct usage", () => { const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: ID! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -1788,7 +1791,7 @@ describe("schema validation", () => { test("should validate directive argument name", () => { const userDocument = gql` type User @node { - id: ID! @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: ID! @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -1813,7 +1816,7 @@ describe("schema validation", () => { test("should validate when value", () => { const userDocument = gql` type User @node { - id: ID! @authorization(validate: [{ when: [NEVER], where: { node: { id: "$jwt.sub" } } }]) + id: ID! @authorization(validate: [{ when: [NEVER], where: { node: { id_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -1839,7 +1842,9 @@ describe("schema validation", () => { const userDocument = gql` type User @node { id: ID! - name: String! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @authentication + name: String! + @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) + @authentication posts: [Post!]! @relationship(type: "HAS_POSTS", direction: IN) } @@ -1863,7 +1868,7 @@ describe("schema validation", () => { type User @node { id: ID! name: String! - @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @authentication posts: [Post!]! @relationship(type: "HAS_POSTS", direction: IN) } @@ -1899,7 +1904,7 @@ describe("schema validation", () => { name: String! } - interface Member @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + interface Member @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! } @@ -1929,7 +1934,7 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1943,7 +1948,7 @@ describe("schema validation", () => { test("should returns errors when used correctly in both type and extension", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -1952,7 +1957,7 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -1975,7 +1980,7 @@ describe("schema validation", () => { const userDocument = gql` type User @node { id: ID! - name: String! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } type Post @node { @@ -1983,7 +1988,7 @@ describe("schema validation", () => { name: String! } extend type User { - name: String! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } `; @@ -2005,7 +2010,7 @@ describe("schema validation", () => { test("should not returns errors when used correctly in both type and an extension field", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -2015,7 +2020,7 @@ describe("schema validation", () => { name: String! } extend type User { - name: String! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } `; @@ -2030,7 +2035,7 @@ describe("schema validation", () => { test("should not returns errors when used correctly in multiple extension fields", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -2040,8 +2045,8 @@ describe("schema validation", () => { name: String! } extend type User { - id: ID! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) - name: String! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: ID! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) + name: String! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } `; @@ -2056,7 +2061,7 @@ describe("schema validation", () => { test("should not returns errors when used correctly in different type and field across several extensions", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -2067,11 +2072,11 @@ describe("schema validation", () => { } extend type User { - name: String! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } extend type User { - id: String! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: String! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) } `; @@ -2096,8 +2101,8 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) - extend type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) + extend type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -2122,7 +2127,7 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend type User @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -2149,7 +2154,7 @@ describe("schema validation", () => { } extend type User @plural(value: "Users") - @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -2170,7 +2175,7 @@ describe("schema validation", () => { } extend type User @plural(value: "Users") - @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -2200,7 +2205,7 @@ describe("schema validation", () => { interface Member { id: ID! } - extend interface Member @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + extend interface Member @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) type Post @node { author: Member @relationship(type: "HAS_AUTHOR", direction: IN) @@ -2224,14 +2229,14 @@ describe("schema validation", () => { describe("mixed usage", () => { test("should not returns errors when used correctly in several place", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } - type Post @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type Post @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! - name: String! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) author: User! @relationship(type: "HAS_AUTHOR", direction: IN) } @@ -2244,7 +2249,7 @@ describe("schema validation", () => { name: String } - extend type Document @authorization(filter: [{ where: { node: { name: "$jwt.sub" } } }]) + extend type Document @authorization(filter: [{ where: { node: { name_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -2257,14 +2262,14 @@ describe("schema validation", () => { }); test("should returns errors when incorrectly used in several place", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } - type Post @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type Post @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! - name: String! @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + name: String! @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) author: User! @relationship(type: "HAS_AUTHOR", direction: IN) } @@ -2277,7 +2282,7 @@ describe("schema validation", () => { name: String } - extend type Document @authorization(filter: [{ where: { node: { name: "$jwt.sub" } } }]) + extend type Document @authorization(filter: [{ where: { node: { name_EQ: "$jwt.sub" } } }]) `; const schemaModel = generateModel(userDocument); @@ -2301,7 +2306,7 @@ describe("schema validation", () => { const userDocument = gql` extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@shareable"]) - type User @shareable @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @shareable @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -2333,7 +2338,7 @@ describe("schema validation", () => { const userDocument = gql` extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@shareable"]) - type User @shareable @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @shareable @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! @deprecated(reason: "name is deprecated") } @@ -2365,12 +2370,12 @@ describe("schema validation", () => { const userDocument = gql` extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@shareable"]) - type User @shareable @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @shareable @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } - type Post @authorization(filter: [{ where: { node: { content: "$jwt.sub" } } }]) @node { + type Post @authorization(filter: [{ where: { node: { content_EQ: "$jwt.sub" } } }]) @node { content: String! author: User! @relationship(type: "HAS_AUTHOR", direction: OUT) } @@ -2400,7 +2405,7 @@ describe("schema validation", () => { type User @node @shareable - @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) + @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! @@ -2444,7 +2449,7 @@ describe("schema validation", () => { @node @plural(value: "Users") @shareable - @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -2480,7 +2485,7 @@ describe("schema validation", () => { @node @plural(value: "Users") @shareable - @authorization(wrongFilter: [{ where: { node: { id: "$jwt.sub" } } }]) { + @authorization(wrongFilter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) { id: ID! name: String! } @@ -2544,7 +2549,7 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! @deprecated(reason: "name is deprecated") } @@ -2567,12 +2572,12 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } - type Post @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type Post @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -2644,7 +2649,7 @@ describe("schema validation", () => { type User @node @plural(value: "Users") - @authentication(operations: [CREATE], jwt: { sub: "test" }) { + @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -2668,7 +2673,7 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @node @plural(value: "Users") @authentication(jwtWrongField: { sub: "test" }) { + type User @node @plural(value: "Users") @authentication(jwtWrongField: { sub_EQ: "test" }) { id: ID! name: String! } @@ -2762,8 +2767,8 @@ describe("schema validation", () => { type User @node { id: ID! name: String! - @authorization(validate: [{ where: { node: { id: "1" } } }]) - @authentication(wrongFieldName: { sub: "test" }) + @authorization(validate: [{ where: { node: { id_EQ: "1" } } }]) + @authentication(wrongFieldName: { sub_EQ: "test" }) posts: [Post!]! @relationship(type: "HAS_POSTS", direction: IN) } @@ -2804,7 +2809,7 @@ describe("schema validation", () => { name: String! } - interface Member @authentication(operations: [CREATE], jwt: { myClaim: "test" }) { + interface Member @authentication(operations: [CREATE], jwt: { myClaim_EQ: "test" }) { id: ID! } @@ -2846,7 +2851,7 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @authentication(operations: [CREATE], jwt: { sub: "test" }) + extend type User @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) `; const jwt = parse(jwtType).definitions[0] as ObjectTypeDefinitionNode; @@ -2868,7 +2873,7 @@ describe("schema validation", () => { const userDocument = gql` ${jwtType} - type User @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -2877,7 +2882,7 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @authentication(operations: [CREATE], jwt: { sub: "test" }) + extend type User @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) `; const jwt = parse(jwtType).definitions[0] as ObjectTypeDefinitionNode; @@ -2908,7 +2913,7 @@ describe("schema validation", () => { ${jwtType} type User @node { id: ID! - name: String! @authentication(operations: [CREATE], jwt: { sub: "test" }) + name: String! @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) } type Post @node { @@ -2916,7 +2921,7 @@ describe("schema validation", () => { name: String! } extend type User { - name: String! @authentication(operations: [CREATE], jwt: { sub: "test" }) + name: String! @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) } `; @@ -2945,7 +2950,7 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -2955,7 +2960,7 @@ describe("schema validation", () => { name: String! } extend type User { - name: String! @authentication(operations: [CREATE], jwt: { sub: "test" }) + name: String! @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) } `; @@ -2977,7 +2982,7 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -2987,8 +2992,8 @@ describe("schema validation", () => { name: String! } extend type User { - id: ID! @authentication(operations: [CREATE], jwt: { sub: "test" }) - name: String! @authentication(operations: [CREATE], jwt: { sub: "test" }) + id: ID! @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) + name: String! @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) } `; @@ -3010,7 +3015,7 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -3021,11 +3026,11 @@ describe("schema validation", () => { } extend type User { - name: String! @authentication(operations: [CREATE], jwt: { sub: "test" }) + name: String! @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) } extend type User { - id: String! @authentication(operations: [CREATE], jwt: { sub: "test" }) + id: String! @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) } `; @@ -3105,7 +3110,9 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @plural(value: "Users") @authentication(operations: [CREATE], jwt: { sub: "test" }) + extend type User + @plural(value: "Users") + @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) `; const jwt = parse(jwtType).definitions[0] as ObjectTypeDefinitionNode; const schemaModel = generateModel(userDocument); @@ -3124,7 +3131,7 @@ describe("schema validation", () => { id: ID! name: String! } - extend type User @plural(value: "Users") @authentication(wrongField: { sub: "test" }) + extend type User @plural(value: "Users") @authentication(wrongField: { sub_EQ: "test" }) `; const schemaModel = generateModel(userDocument); @@ -3160,7 +3167,7 @@ describe("schema validation", () => { interface Member { id: ID! } - extend interface Member @authentication(operations: [CREATE], jwt: { sub: "test" }) + extend interface Member @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) type Post @node { author: Member @relationship(type: "HAS_AUTHOR", direction: IN) @@ -3194,14 +3201,14 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } - type Post @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type Post @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! - name: String! @authentication(operations: [CREATE], jwt: { sub: "test" }) + name: String! @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) author: User! @relationship(type: "HAS_AUTHOR", direction: IN) } @@ -3214,7 +3221,7 @@ describe("schema validation", () => { name: String } - extend type Document @authentication(operations: [CREATE], jwt: { sub: "test" }) + extend type Document @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) `; const jwt = parse(jwtType).definitions[0] as ObjectTypeDefinitionNode; @@ -3234,14 +3241,14 @@ describe("schema validation", () => { `; const userDocument = gql` ${jwtType} - type User @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } - type Post @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type Post @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! - name: String! @authentication(ops: [CREATE], jwt: { sub: "test" }) + name: String! @authentication(ops: [CREATE], jwt: { sub_EQ: "test" }) author: User! @relationship(type: "HAS_AUTHOR", direction: IN) } @@ -3254,7 +3261,7 @@ describe("schema validation", () => { name: String } - extend type Document @authentication(operations: [CREATE], jwt: { sub: "test" }) + extend type Document @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) `; const jwt = parse(jwtType).definitions[0] as ObjectTypeDefinitionNode; @@ -3282,7 +3289,7 @@ describe("schema validation", () => { ${jwtType} extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@shareable"]) - type User @node @shareable @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @shareable @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -3322,7 +3329,7 @@ describe("schema validation", () => { ${jwtType} extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@shareable"]) - type User @node @shareable @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @shareable @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! @deprecated(reason: "name is deprecated") } @@ -3362,12 +3369,12 @@ describe("schema validation", () => { ${jwtType} extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@shareable"]) - type User @node @shareable @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type User @node @shareable @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } - type Post @node @authentication(operations: [CREATE], jwt: { sub: "test" }) { + type Post @node @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { content: String! author: User! @relationship(type: "HAS_AUTHOR", direction: OUT) } @@ -3396,7 +3403,7 @@ describe("schema validation", () => { const userDocument = gql` extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@shareable"]) - type User @node @shareable @authentication(wrongField: { sub: "test" }) { + type User @node @shareable @authentication(wrongField: { sub_EQ: "test" }) { id: ID! name: String! } @@ -3445,7 +3452,7 @@ describe("schema validation", () => { @node @plural(value: "Users") @shareable - @authentication(operations: [CREATE], jwt: { sub: "test" }) { + @authentication(operations: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -3489,7 +3496,7 @@ describe("schema validation", () => { @node @plural(value: "Users") @shareable - @authentication(ops: [CREATE], jwt: { sub: "test" }) { + @authentication(ops: [CREATE], jwt: { sub_EQ: "test" }) { id: ID! name: String! } @@ -3587,7 +3594,7 @@ describe("schema validation", () => { describe("correct usage", () => { test("should not returns errors with a valid @authorization filter argument", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -3638,7 +3645,9 @@ describe("schema validation", () => { name: String! } - type Post @authorization(filter: [{ where: { node: { author: { name: "Simone" } } } }]) @node { + type Post + @authorization(filter: [{ where: { node: { author: { name_EQ: "Simone" } } } }]) + @node { content: String! author: User! @relationship(type: "HAS_AUTHOR", direction: OUT) } @@ -3667,7 +3676,7 @@ describe("schema validation", () => { } type Post - @authorization(filter: [{ where: { node: { authors_SOME: { name: "Simone" } } } }]) + @authorization(filter: [{ where: { node: { authors_SOME: { name_EQ: "Simone" } } } }]) @node { content: String! authors: [User!]! @relationship(type: "HAS_AUTHOR", direction: OUT) @@ -3693,7 +3702,9 @@ describe("schema validation", () => { describe("incorrect usage", () => { test("should returns errors when an @authorization filter contains an unknown operation", () => { const userDocument = gql` - type User @authorization(filter: [{ seemsNotAWhereToMe: { node: { id: "$jwt.sub" } } }]) @node { + type User + @authorization(filter: [{ seemsNotAWhereToMe: { node: { id_EQ: "$jwt.sub" } } }]) + @node { id: ID! name: String! } @@ -3726,8 +3737,8 @@ describe("schema validation", () => { type User @node { name: String! id: ID! - @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) - @subscriptionsAuthorization(filter: [{ where: { wrongNode: { id: "$jwt.sub" } } }]) + @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) + @subscriptionsAuthorization(filter: [{ where: { wrongNode: { id_EQ: "$jwt.sub" } } }]) } `; @@ -3751,7 +3762,7 @@ describe("schema validation", () => { test("should returns errors when an @authorization filter has a wrong where definition", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { notANode: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { notANode: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -3781,7 +3792,7 @@ describe("schema validation", () => { test("should returns errors when an @authorization filter has a wrong where predicate", () => { const userDocument = gql` - type User @authorization(filter: [{ where: { node: { notAValidID: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { notAValidID_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! } @@ -3804,7 +3815,7 @@ describe("schema validation", () => { expect(errors[0]).not.toBeInstanceOf(NoErrorThrownError); expect(errors[0]).toHaveProperty( "message", - 'Invalid argument: filter, error: Field "notAValidID" is not defined by type.' + 'Invalid argument: filter, error: Field "notAValidID_EQ" is not defined by type.' ); expect(errors[0]).toHaveProperty("path", ["User", "@authorization", "filter", 0, "where", "node"]); }); @@ -3817,7 +3828,7 @@ describe("schema validation", () => { } type Post - @authorization(filter: [{ where: { node: { author: { content: "Simone" } } } }]) + @authorization(filter: [{ where: { node: { author: { content_EQ: "Simone" } } } }]) @node { content: String! author: User! @relationship(type: "HAS_AUTHOR", direction: OUT) @@ -3841,7 +3852,7 @@ describe("schema validation", () => { expect(errors[0]).not.toBeInstanceOf(NoErrorThrownError); expect(errors[0]).toHaveProperty( "message", - 'Invalid argument: filter, error: Field "content" is not defined by type.' + 'Invalid argument: filter, error: Field "content_EQ" is not defined by type.' ); expect(errors[0]).toHaveProperty("path", [ "Post", @@ -3864,7 +3875,7 @@ describe("schema validation", () => { type Post @node @authorization( - filter: [{ where: { node: { author_NOT_A_QUANTIFIER: { name: "Simone" } } } }] + filter: [{ where: { node: { author_NOT_A_QUANTIFIER: { name_EQ: "Simone" } } } }] ) { content: String! authors: [User!]! @relationship(type: "HAS_AUTHOR", direction: OUT) @@ -3900,7 +3911,7 @@ describe("schema validation", () => { test("should not returns errors with a valid @authorization filter argument", () => { const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) + id: ID! @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -3952,7 +3963,7 @@ describe("schema validation", () => { type Post @node { content: String! - @authorization(filter: [{ where: { node: { author: { name: "Simone" } } } }]) + @authorization(filter: [{ where: { node: { author: { name_EQ: "Simone" } } } }]) author: User! @relationship(type: "HAS_AUTHOR", direction: OUT) } `; @@ -3981,7 +3992,7 @@ describe("schema validation", () => { type Post @node { content: String! - @authorization(filter: [{ where: { node: { authors_SOME: { name: "Simone" } } } }]) + @authorization(filter: [{ where: { node: { authors_SOME: { name_EQ: "Simone" } } } }]) authors: [User!]! @relationship(type: "HAS_AUTHOR", direction: OUT) } `; @@ -4006,7 +4017,7 @@ describe("schema validation", () => { test("should returns errors when an @authorization filter contains an unknown operation", () => { const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ seemsNotAWhereToMe: { node: { id: "$jwt.sub" } } }]) + id: ID! @authorization(filter: [{ seemsNotAWhereToMe: { node: { id_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -4036,7 +4047,7 @@ describe("schema validation", () => { test("should returns errors when an @authorization filter has a wrong where definition", () => { const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ where: { notANode: { id: "$jwt.sub" } } }]) + id: ID! @authorization(filter: [{ where: { notANode: { id_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -4066,7 +4077,7 @@ describe("schema validation", () => { test("should returns errors when an @authorization filter has a wrong where predicate", () => { const userDocument = gql` type User @node { - id: ID! @authorization(filter: [{ where: { node: { notAValidID: "$jwt.sub" } } }]) + id: ID! @authorization(filter: [{ where: { node: { notAValidID_EQ: "$jwt.sub" } } }]) name: String! } `; @@ -4088,7 +4099,7 @@ describe("schema validation", () => { expect(errors[0]).not.toBeInstanceOf(NoErrorThrownError); expect(errors[0]).toHaveProperty( "message", - 'Invalid argument: filter, error: Field "notAValidID" is not defined by type.' + 'Invalid argument: filter, error: Field "notAValidID_EQ" is not defined by type.' ); expect(errors[0]).toHaveProperty("path", [ "User", @@ -4110,7 +4121,7 @@ describe("schema validation", () => { type Post @node { content: String! - @authorization(filter: [{ where: { node: { author: { content: "Simone" } } } }]) + @authorization(filter: [{ where: { node: { author: { content_EQ: "Simone" } } } }]) author: User! @relationship(type: "HAS_AUTHOR", direction: OUT) } `; @@ -4132,7 +4143,7 @@ describe("schema validation", () => { expect(errors[0]).not.toBeInstanceOf(NoErrorThrownError); expect(errors[0]).toHaveProperty( "message", - 'Invalid argument: filter, error: Field "content" is not defined by type.' + 'Invalid argument: filter, error: Field "content_EQ" is not defined by type.' ); expect(errors[0]).toHaveProperty("path", [ "Post", @@ -4156,7 +4167,7 @@ describe("schema validation", () => { type Post @node { content: String! @authorization( - filter: [{ where: { node: { author_NOT_A_QUANTIFIER: { name: "Simone" } } } }] + filter: [{ where: { node: { author_NOT_A_QUANTIFIER: { name_EQ: "Simone" } } } }] ) authors: [User!]! @relationship(type: "HAS_AUTHOR", direction: OUT) } diff --git a/packages/graphql/src/types/index.ts b/packages/graphql/src/types/index.ts index fe2ea0eaba..2b9e96af73 100644 --- a/packages/graphql/src/types/index.ts +++ b/packages/graphql/src/types/index.ts @@ -447,7 +447,6 @@ export type Neo4jFeaturesSettings = { * NOTE: this will not remove user defined deprecated fields **/ excludeDeprecatedFields?: { - implicitEqualFilters?: boolean; implicitSet?: boolean; }; vector?: Neo4jVectorSettings; diff --git a/packages/graphql/tests/integration/deprecations/implicit-count-eq.int.test.ts b/packages/graphql/tests/integration/deprecations/implicit-count-eq.int.test.ts index 3d21acc54e..e9906855f3 100644 --- a/packages/graphql/tests/integration/deprecations/implicit-count-eq.int.test.ts +++ b/packages/graphql/tests/integration/deprecations/implicit-count-eq.int.test.ts @@ -60,7 +60,7 @@ describe("aggregations-where-count", () => { const query = /* GraphQL */ ` { - ${Post.plural}(where: { title_EQ: "hello world", likesAggregate: { count: 2 } }) { + ${Post.plural}(where: { title_EQ: "hello world", likesAggregate: { count_EQ: 2 } }) { title likes { name diff --git a/packages/graphql/tests/integration/deprecations/implicit-eq-filtering.int.test.ts b/packages/graphql/tests/integration/deprecations/implicit-eq-filtering.int.test.ts deleted file mode 100644 index 667acd2208..0000000000 --- a/packages/graphql/tests/integration/deprecations/implicit-eq-filtering.int.test.ts +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Copyright (c) "Neo4j" - * Neo4j Sweden AB [http://neo4j.com] - * - * This file is part of Neo4j. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import neo4jDriver from "neo4j-driver"; -import { TestHelper } from "../../utils/tests-helper"; - -describe("Implicit _EQ filtering", () => { - const testHelper = new TestHelper(); - - afterEach(async () => { - await testHelper.close(); - }); - - test.each([ - ["String", ["Matrix", "Matrix 2", "Matrix 3"]], - ["ID", ["z121039", "a10239", "b12389"]], - ] as const)("the deprecated implicit _EQ should correctly apply filters for string types", async (type, values) => { - const randomType = testHelper.createUniqueType("Movie"); - - const typeDefs = /* GraphQL */ ` - type ${randomType.name} @node { - property: ${type} - } - `; - - await testHelper.initNeo4jGraphQL({ typeDefs }); - - const value = values[0]; - const otherValue1 = values[1]; - const otherValue2 = values[2]; - - await testHelper.executeCypher( - ` - CREATE (:${randomType.name} { property: $value }) - CREATE (:${randomType.name} { property: $otherValue1 }) - CREATE (:${randomType.name} { property: $otherValue2 }) - `, - { value, otherValue1, otherValue2 } - ); - - const query = /* GraphQL */ ` - { - ${randomType.plural}(where: { property: "${value}" }) { - property - } - } - `; - - const gqlResult = await testHelper.executeGraphQL(query); - - expect(gqlResult.errors).toBeUndefined(); - expect((gqlResult.data as any)[randomType.plural]).toHaveLength(1); - expect((gqlResult.data as any)[randomType.plural][0].property).toEqual(value); - }); - - test.each([ - ["Int", [1999999, 1000000, 2999999]], - ["Float", [1.19, 1.2, 2.3]], - ] as const)( - "the deprecated implicit _EQ should correctly apply filters for numerical types", - async (type, values) => { - const randomType = testHelper.createUniqueType("Movie"); - - const typeDefs = /* GraphQL */ ` - type ${randomType.name} @node { - property: ${type} - } - `; - - await testHelper.initNeo4jGraphQL({ typeDefs }); - - const value = values[0]; - const otherValue1 = values[1]; - const otherValue2 = values[2]; - - await testHelper.executeCypher( - ` - CREATE (:${randomType.name} { property: $value }) - CREATE (:${randomType.name} { property: $otherValue1 }) - CREATE (:${randomType.name} { property: $otherValue2 }) - `, - { value, otherValue1, otherValue2 } - ); - - const query = /* GraphQL */ ` - { - ${randomType.plural}(where: { property: ${value} }) { - property - } - } - `; - - const gqlResult = await testHelper.executeGraphQL(query); - - expect(gqlResult.errors).toBeUndefined(); - expect((gqlResult.data as any)[randomType.plural]).toHaveLength(1); - expect((gqlResult.data as any)[randomType.plural][0].property).toEqual(value); - } - ); - - test("the deprecated implicit _EQ should correctly apply filters for Date type", async () => { - const randomType = testHelper.createUniqueType("Movie"); - const typeDefs = /* GraphQL */ ` - type ${randomType.name} @node { - property: Date - } - `; - - const date1 = new Date(1716904582368); - const date2 = new Date(1736900000000); - const neoDate1 = neo4jDriver.types.Date.fromStandardDate(date1); - const neoDate2 = neo4jDriver.types.Date.fromStandardDate(date2); - - await testHelper.executeCypher( - ` - CREATE (:${randomType.name} { property: $datetime1}) - CREATE (:${randomType.name} { property: $datetime2}) - `, - { datetime1: neoDate1, datetime2: neoDate2 } - ); - - await testHelper.initNeo4jGraphQL({ typeDefs }); - - const query = /* GraphQL */ ` - { - ${randomType.plural}(where: { property: "${neoDate1.toString()}" }) { - property - } - } - `; - const gqlResult = await testHelper.executeGraphQL(query); - - expect(gqlResult.errors).toBeUndefined(); - expect((gqlResult.data as any)[randomType.plural]).toHaveLength(1); - expect((gqlResult.data as any)[randomType.plural][0].property).toEqual(neoDate1.toString()); - }); - - test("the deprecated implicit _EQ should correctly apply filters for BigInt type", async () => { - const [type, values] = ["BigInt", [1999999, 1000000, 2999999]] as const; - const randomType = testHelper.createUniqueType("Movie"); - - const typeDefs = /* GraphQL */ ` - type ${randomType.name} @node { - property: ${type} - } - `; - - await testHelper.initNeo4jGraphQL({ typeDefs }); - - const value = values[0]; - const otherValue1 = values[1]; - const otherValue2 = values[2]; - - await testHelper.executeCypher( - ` - CREATE (:${randomType.name} { property: $value }) - CREATE (:${randomType.name} { property: $otherValue1 }) - CREATE (:${randomType.name} { property: $otherValue2 }) - `, - { value, otherValue1, otherValue2 } - ); - - const query = /* GraphQL */ ` - { - ${randomType.plural}(where: { property: "${value}" }) { - property - } - } - `; - - const gqlResult = await testHelper.executeGraphQL(query); - - expect(gqlResult.errors).toBeUndefined(); - expect((gqlResult.data as any)[randomType.plural]).toHaveLength(1); - expect((gqlResult.data as any)[randomType.plural][0].property).toEqual(value.toString()); - }); - - test("implicit _EQ on relationship filter", async () => { - const movieType = testHelper.createUniqueType("Movie"); - const actorType = testHelper.createUniqueType("Actor"); - - const typeDefs = /* GraphQL */ ` - type ${movieType} @node { - title: String - } - - type ${actorType} @node { - name: String - movies: [${movieType}!]! @relationship(type: "ACTED_IN", direction: OUT, properties: "ActedIn") - } - - type ActedIn @relationshipProperties { - role: String - } - `; - - await testHelper.initNeo4jGraphQL({ typeDefs }); - - await testHelper.executeCypher( - ` - CREATE (m1:${movieType.name} { title: "The Matrix" }) - CREATE (m2:${movieType.name} { title: "The Matrix 2" }) - CREATE (m3:${movieType.name} { title: "The Matrix 3" }) - CREATE (k:${actorType.name} { name: "Keanu Reeves" }) - CREATE (c:${actorType.name} { name: "Carrie-Anne Moss" }) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m1) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m2) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m3) - CREATE (c)-[:ACTED_IN { role: "Trinity" }]->(m1) - `, - {} - ); - - const query = /* GraphQL */ ` - { - ${actorType.plural}(where: { movies_SOME: { title: "The Matrix 2" }}) { - name - } - } - `; - - const gqlResult = await testHelper.executeGraphQL(query); - - expect(gqlResult.errors).toBeUndefined(); - expect((gqlResult.data as any)[actorType.plural]).toHaveLength(1); - expect((gqlResult.data as any)[actorType.plural][0].name).toBe("Keanu Reeves"); - }); - - test("implicit _EQ on connection filter", async () => { - const movieType = testHelper.createUniqueType("Movie"); - const actorType = testHelper.createUniqueType("Actor"); - - const typeDefs = /* GraphQL */ ` - type ${movieType} @node { - title: String - } - - type ${actorType} @node { - name: String - movies: [${movieType}!]! @relationship(type: "ACTED_IN", direction: OUT, properties: "ActedIn") - } - - type ActedIn @relationshipProperties { - role: String - } - `; - - await testHelper.initNeo4jGraphQL({ typeDefs }); - - await testHelper.executeCypher( - ` - CREATE (m1:${movieType.name} { title: "The Matrix" }) - CREATE (m2:${movieType.name} { title: "The Matrix 2" }) - CREATE (m3:${movieType.name} { title: "The Matrix 3" }) - CREATE (k:${actorType.name} { name: "Keanu Reeves" }) - CREATE (c:${actorType.name} { name: "Carrie-Anne Moss" }) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m1) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m2) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m3) - CREATE (c)-[:ACTED_IN { role: "Trinity" }]->(m1) - `, - {} - ); - - const query = /* GraphQL */ ` - { - ${actorType.plural}(where: { moviesConnection_SOME: { node: { title: "The Matrix 2" } }}) { - name - } - } - `; - - const gqlResult = await testHelper.executeGraphQL(query); - - expect(gqlResult.errors).toBeUndefined(); - expect((gqlResult.data as any)[actorType.plural]).toHaveLength(1); - expect((gqlResult.data as any)[actorType.plural][0].name).toBe("Keanu Reeves"); - }); - - test("implicit _EQ on relationship properties filter", async () => { - const movieType = testHelper.createUniqueType("Movie"); - const actorType = testHelper.createUniqueType("Actor"); - - const typeDefs = /* GraphQL */ ` - type ${movieType} @node { - title: String - } - - type ${actorType} @node { - name: String - movies: [${movieType}!]! @relationship(type: "ACTED_IN", direction: OUT, properties: "ActedIn") - } - - type ActedIn @relationshipProperties { - role: String - } - `; - - await testHelper.initNeo4jGraphQL({ typeDefs }); - - await testHelper.executeCypher( - ` - CREATE (m1:${movieType.name} { title: "The Matrix" }) - CREATE (m2:${movieType.name} { title: "The Matrix 2" }) - CREATE (m3:${movieType.name} { title: "The Matrix 3" }) - CREATE (k:${actorType.name} { name: "Keanu Reeves" }) - CREATE (c:${actorType.name} { name: "Carrie-Anne Moss" }) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m1) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m2) - CREATE (k)-[:ACTED_IN { role: "Neo" }]->(m3) - CREATE (c)-[:ACTED_IN { role: "Trinity" }]->(m1) - `, - {} - ); - - const query = /* GraphQL */ ` - { - ${actorType.plural}(where: { moviesConnection_SOME: { edge: { role: "Trinity" } }}) { - name - } - } - `; - - const gqlResult = await testHelper.executeGraphQL(query); - - expect(gqlResult.errors).toBeUndefined(); - expect((gqlResult.data as any)[actorType.plural]).toHaveLength(1); - expect((gqlResult.data as any)[actorType.plural][0].name).toBe("Carrie-Anne Moss"); - }); -}); diff --git a/packages/graphql/tests/integration/directives/authorization/claim.int.test.ts b/packages/graphql/tests/integration/directives/authorization/claim.int.test.ts index ec6f55b689..5e23648d1a 100644 --- a/packages/graphql/tests/integration/directives/authorization/claim.int.test.ts +++ b/packages/graphql/tests/integration/directives/authorization/claim.int.test.ts @@ -44,7 +44,7 @@ describe("auth claim", () => { test("should allow checks against standard claim properties when jwt payload is undefined", async () => { const typeDefs = ` - type ${User} @authorization(validate: [ { operations: [READ], when: BEFORE, where: { jwt: { iss: "test" } } }]) { + type ${User} @authorization(validate: [ { operations: [READ], when: BEFORE, where: { jwt: { iss_EQ: "test" } } }]) { id: ID password: String } @@ -87,7 +87,7 @@ describe("auth claim", () => { myClaim: String } - type ${User} @authorization(validate: [ { operations: [READ], when: BEFORE, where: { jwt: { iss: "test" } } }]) { + type ${User} @authorization(validate: [ { operations: [READ], when: BEFORE, where: { jwt: { iss_EQ: "test" } } }]) { id: ID password: String } diff --git a/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-auth.int.test.ts b/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-auth.int.test.ts index 835340b847..fa4457ceec 100644 --- a/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-auth.int.test.ts +++ b/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-auth.int.test.ts @@ -32,7 +32,7 @@ describe("cypher directive filtering - Auth", () => { const Actor = testHelper.createUniqueType("Actor"); const typeDefs = /* GraphQL */ ` - type ${Movie} @node @authorization(filter: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) { + type ${Movie} @node @authorization(filter: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) { title: String custom_field: String @cypher( @@ -177,7 +177,7 @@ describe("cypher directive filtering - Auth", () => { """ columnName: "s" ) - @authorization(filter: [{ where: { node: { title: "$jwt.custom_value" } } }]) + @authorization(filter: [{ where: { node: { title_EQ: "$jwt.custom_value" } } }]) actors: [${Actor}!]! @relationship(type: "ACTED_IN", direction: IN) } @@ -250,7 +250,7 @@ describe("cypher directive filtering - Auth", () => { actors: [${Actor}!]! @relationship(type: "ACTED_IN", direction: IN) } - type ${Actor} @node @authorization(filter: [{ where: { node: { movies_SOME: { custom_field: "$jwt.custom_value" } } } }]) { + type ${Actor} @node @authorization(filter: [{ where: { node: { movies_SOME: { custom_field_EQ: "$jwt.custom_value" } } } }]) { name: String movies: [${Movie}!]! @relationship(type: "ACTED_IN", direction: OUT) } @@ -306,7 +306,7 @@ describe("cypher directive filtering - Auth", () => { const typeDefs = /* GraphQL */ ` type ${Movie} @node { - title: String @authorization(filter: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) + title: String @authorization(filter: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) custom_field: String @cypher( statement: """ @@ -374,7 +374,7 @@ describe("cypher directive filtering - Auth", () => { const Actor = testHelper.createUniqueType("Actor"); const typeDefs = /* GraphQL */ ` - type ${Movie} @node @authorization(validate: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) { + type ${Movie} @node @authorization(validate: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) { title: String custom_field: String @cypher( @@ -434,7 +434,7 @@ describe("cypher directive filtering - Auth", () => { const Actor = testHelper.createUniqueType("Actor"); const typeDefs = /* GraphQL */ ` - type ${Movie} @node @authorization(validate: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) { + type ${Movie} @node @authorization(validate: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) { title: String custom_field: String @cypher( diff --git a/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-list-auth.int.test.ts b/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-list-auth.int.test.ts index 94138cacdb..a51306912b 100644 --- a/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-list-auth.int.test.ts +++ b/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-list-auth.int.test.ts @@ -187,7 +187,7 @@ describe("cypher directive filtering - List Auth", () => { """ columnName: "list" ) - @authorization(filter: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) + @authorization(filter: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) actors: [${Actor}!]! @relationship(type: "ACTED_IN", direction: IN) } diff --git a/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-one-to-one-relationship.int.test.ts b/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-one-to-one-relationship.int.test.ts index 75307c3762..6ec544e325 100644 --- a/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-one-to-one-relationship.int.test.ts +++ b/packages/graphql/tests/integration/directives/cypher/filtering/cypher-filtering-one-to-one-relationship.int.test.ts @@ -808,7 +808,7 @@ describe("cypher directive filtering - One To One Relationship", () => { type ${Movie} @node { title: String released: Int - directed_by: ${Person}! @authorization(validate: [{ where: { node: { directed_by: { name: "$jwt.custom_value" } } } }]) + directed_by: ${Person}! @authorization(validate: [{ where: { node: { directed_by: { name_EQ: "$jwt.custom_value" } } } }]) @cypher( statement: """ MATCH (this)<-[:DIRECTED]-(director:${Person}) diff --git a/packages/graphql/tests/integration/directives/vector/vector-auth.int.test.ts b/packages/graphql/tests/integration/directives/vector/vector-auth.int.test.ts index e6aa97292e..e43640279d 100644 --- a/packages/graphql/tests/integration/directives/vector/vector-auth.int.test.ts +++ b/packages/graphql/tests/integration/directives/vector/vector-auth.int.test.ts @@ -478,7 +478,7 @@ describe("@vector directive - Auth", () => { const query = /* GraphQL */ ` query($vector: [Float!]) { - ${queryName}(vector: $vector, where: { node: { name: "${person2.name}" } }) { + ${queryName}(vector: $vector, where: { node: { name_EQ: "${person2.name}" } }) { edges { score node { diff --git a/packages/graphql/tests/integration/issues/1221.int.test.ts b/packages/graphql/tests/integration/issues/1221.int.test.ts index 6d9d3c1658..a587d24eac 100644 --- a/packages/graphql/tests/integration/issues/1221.int.test.ts +++ b/packages/graphql/tests/integration/issues/1221.int.test.ts @@ -38,7 +38,7 @@ describe("https://github.com/neo4j/graphql/issues/1221", () => { testNameDetails = testHelper.createUniqueType("NameDetails"); testMasterData = testHelper.createUniqueType("MasterData"); - typeDefs = ` + typeDefs = /* GraphQL */ ` type ${testSeries} @node { id: ID! current: Boolean! @@ -91,7 +91,7 @@ describe("https://github.com/neo4j/graphql/issues/1221", () => { CREATE (:${testNameDetails} { fullName: "MHBB" })<-[:HAS_NAME { current: true }]-(:${testMasterData} { current: true, id: "523" })<-[:ARCHITECTURE { current: true }]-(:${testSeries} { current: true, id: "621" }) `); - const query = ` + const query = /* GraphQL */ ` query ( $where: ${testSeries}Where = { current_EQ: true } $connectionWhere: RelationPropsWhere = { current_EQ: true } @@ -397,8 +397,8 @@ describe("https://github.com/neo4j/graphql/issues/1221", () => { const query = ` query ( - $where: ${testMain}Where = { current: true } - $connectionWhere: RelationPropsWhere = { current: true } + $where: ${testMain}Where = { current_EQ: true } + $connectionWhere: RelationPropsWhere = { current_EQ: true } ) { ${testMain.plural}(where: $where) { id diff --git a/packages/graphql/tests/integration/issues/1430.int.test.ts b/packages/graphql/tests/integration/issues/1430.int.test.ts index ff5e5ba260..b0b69fd09e 100644 --- a/packages/graphql/tests/integration/issues/1430.int.test.ts +++ b/packages/graphql/tests/integration/issues/1430.int.test.ts @@ -157,7 +157,7 @@ describe("https://github.com/neo4j/graphql/issues/1430", () => { const updateMutation = ` mutation ddfs{ - ${testAbce.operations.update}(where: { id: "${abcesId}" } + ${testAbce.operations.update}(where: { id_EQ: "${abcesId}" } update: { interface: { create: { node: { ${testChildOne.name}: { name: "childone name2" } } } } } ){ ${testAbce.plural} { @@ -234,8 +234,8 @@ describe("https://github.com/neo4j/graphql/issues/1430", () => { const updateMutation = ` mutation { ${testAbce.operations.update}( - where: { id: "${abcesId}" } - update: { interface: { connect: { where: { node: { name: "childone name connect" } } } } } + where: { id_EQ: "${abcesId}" } + update: { interface: { connect: { where: { node: { name_EQ: "childone name connect" } } } } } ) { ${testAbce.plural} { id @@ -311,7 +311,7 @@ describe("https://github.com/neo4j/graphql/issues/1430", () => { const updateMutation = ` mutation { ${testAbce.operations.update}( - where: { id: "${abcesId}" } + where: { id_EQ: "${abcesId}" } update: { interface: { create: { node: { ${testChildOne.name}: { name: "childone anme nested create" } } } } } ) { ${testAbce.plural} { diff --git a/packages/graphql/tests/integration/issues/5599.int.test.ts b/packages/graphql/tests/integration/issues/5599.int.test.ts index 5187a585c2..6d512bc898 100644 --- a/packages/graphql/tests/integration/issues/5599.int.test.ts +++ b/packages/graphql/tests/integration/issues/5599.int.test.ts @@ -72,7 +72,7 @@ describe("https://github.com/neo4j/graphql/issues/5599", () => { const query = /* GraphQL */ ` mutation UpdateMovies { ${Movie.operations.update}( - update: { actors: { ${LeadActor}: [{ delete: [{ where: { node: { name: "Actor1" } } }] }] } } + update: { actors: { ${LeadActor}: [{ delete: [{ where: { node: { name_EQ: "Actor1" } } }] }] } } ) { ${Movie.plural} { title @@ -110,7 +110,7 @@ describe("https://github.com/neo4j/graphql/issues/5599", () => { const query = /* GraphQL */ ` mutation UpdateMovies { ${Movie.operations.update}( - update: { actors: { ${LeadActor}: [{ delete: [{ where: { node: { name: "Actor1" } } }] }], ${Extra}: [{ delete: [{ where: { node: { name: "Actor2" } } }] }] } } + update: { actors: { ${LeadActor}: [{ delete: [{ where: { node: { name_EQ: "Actor1" } } }] }], ${Extra}: [{ delete: [{ where: { node: { name_EQ: "Actor2" } } }] }] } } ) { ${Movie.plural} { title diff --git a/packages/graphql/tests/integration/issues/5681.int.test.ts b/packages/graphql/tests/integration/issues/5681.int.test.ts index 0a6e783924..eac45ed84c 100644 --- a/packages/graphql/tests/integration/issues/5681.int.test.ts +++ b/packages/graphql/tests/integration/issues/5681.int.test.ts @@ -53,7 +53,7 @@ describe("https://github.com/neo4j/graphql/issues/5635", () => { type ${User} @authorization( validate: [ - { where: { node: { userId: "$jwt.sub" } } } + { where: { node: { userId_EQ: "$jwt.sub" } } } { where: { jwt: { roles_INCLUDES: "overlord" } } } ] ) @@ -181,7 +181,7 @@ describe("https://github.com/neo4j/graphql/issues/5635", () => { connect: { where: { node: { - id: tenantId, + id_EQ: tenantId, }, }, }, @@ -219,7 +219,7 @@ describe("https://github.com/neo4j/graphql/issues/5635", () => { connect: { where: { node: { - id: tenantId, + id_EQ: tenantId, }, }, }, @@ -228,7 +228,7 @@ describe("https://github.com/neo4j/graphql/issues/5635", () => { connect: { where: { node: { - id: garageId, + id_EQ: garageId, }, }, }, diff --git a/packages/graphql/tests/integration/issues/5698.int.test.ts b/packages/graphql/tests/integration/issues/5698.int.test.ts index 6861db05f1..4b38668b80 100644 --- a/packages/graphql/tests/integration/issues/5698.int.test.ts +++ b/packages/graphql/tests/integration/issues/5698.int.test.ts @@ -59,7 +59,7 @@ describe("https://github.com/neo4j/graphql/issues/5698", () => { const query = /* GraphQL */ ` query { - ${Movie.plural}(where: { released: 1999, director: null }) { + ${Movie.plural}(where: { released_EQ: 1999, director: null }) { title } } @@ -79,7 +79,7 @@ describe("https://github.com/neo4j/graphql/issues/5698", () => { const query = /* GraphQL */ ` query { - ${Movie.plural}(where: { released: 1999, secondDirector: null }) { + ${Movie.plural}(where: { released_EQ: 1999, secondDirector: null }) { title } } diff --git a/packages/graphql/tests/integration/issues/988.int.test.ts b/packages/graphql/tests/integration/issues/988.int.test.ts index 9b964a6f54..7f8e0ac552 100644 --- a/packages/graphql/tests/integration/issues/988.int.test.ts +++ b/packages/graphql/tests/integration/issues/988.int.test.ts @@ -67,7 +67,7 @@ describe("https://github.com/neo4j/graphql/issues/988", () => { test("should query nested connection", async () => { const query = /* GraphQL */ ` - query getSeriesWithRelationFilters($where: ${seriesType.name}Where = { current: true }) { + query getSeriesWithRelationFilters($where: ${seriesType.name}Where = { current_EQ: true }) { ${seriesType.plural}(where: $where) { name current diff --git a/packages/graphql/tests/schema/aggregations.test.ts b/packages/graphql/tests/schema/aggregations.test.ts index 228808849a..94e4398ca7 100644 --- a/packages/graphql/tests/schema/aggregations.test.ts +++ b/packages/graphql/tests/schema/aggregations.test.ts @@ -236,75 +236,64 @@ describe("Aggregations", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - createdAt: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") createdAt_EQ: DateTime createdAt_GT: DateTime createdAt_GTE: DateTime createdAt_IN: [DateTime] createdAt_LT: DateTime createdAt_LTE: DateTime - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - imdbRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") imdbRating_EQ: Float imdbRating_GT: Float imdbRating_GTE: Float imdbRating_IN: [Float] imdbRating_LT: Float imdbRating_LTE: Float - isbn: String @deprecated(reason: \\"Please use the explicit _EQ version\\") isbn_CONTAINS: String isbn_ENDS_WITH: String isbn_EQ: String isbn_IN: [String!] isbn_STARTS_WITH: String - screenTime: Duration @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Duration screenTime_GT: Duration screenTime_GTE: Duration screenTime_IN: [Duration] screenTime_LT: Duration screenTime_LTE: Duration - someBigInt: BigInt @deprecated(reason: \\"Please use the explicit _EQ version\\") someBigInt_EQ: BigInt someBigInt_GT: BigInt someBigInt_GTE: BigInt someBigInt_IN: [BigInt] someBigInt_LT: BigInt someBigInt_LTE: BigInt - someInt: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") someInt_EQ: Int someInt_GT: Int someInt_GTE: Int someInt_IN: [Int] someInt_LT: Int someInt_LTE: Int - someLocalDateTime: LocalDateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") someLocalDateTime_EQ: LocalDateTime someLocalDateTime_GT: LocalDateTime someLocalDateTime_GTE: LocalDateTime someLocalDateTime_IN: [LocalDateTime] someLocalDateTime_LT: LocalDateTime someLocalDateTime_LTE: LocalDateTime - someLocalTime: LocalTime @deprecated(reason: \\"Please use the explicit _EQ version\\") someLocalTime_EQ: LocalTime someLocalTime_GT: LocalTime someLocalTime_GTE: LocalTime someLocalTime_IN: [LocalTime] someLocalTime_LT: LocalTime someLocalTime_LTE: LocalTime - someTime: Time @deprecated(reason: \\"Please use the explicit _EQ version\\") someTime_EQ: Time someTime_GT: Time someTime_GTE: Time someTime_IN: [Time] someTime_LT: Time someTime_LTE: Time - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -715,68 +704,58 @@ describe("Aggregations", () => { AND: [LikesWhere!] NOT: LikesWhere OR: [LikesWhere!] - someBigInt: BigInt @deprecated(reason: \\"Please use the explicit _EQ version\\") someBigInt_EQ: BigInt someBigInt_GT: BigInt someBigInt_GTE: BigInt someBigInt_IN: [BigInt] someBigInt_LT: BigInt someBigInt_LTE: BigInt - someDateTime: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") someDateTime_EQ: DateTime someDateTime_GT: DateTime someDateTime_GTE: DateTime someDateTime_IN: [DateTime] someDateTime_LT: DateTime someDateTime_LTE: DateTime - someDuration: Duration @deprecated(reason: \\"Please use the explicit _EQ version\\") someDuration_EQ: Duration someDuration_GT: Duration someDuration_GTE: Duration someDuration_IN: [Duration] someDuration_LT: Duration someDuration_LTE: Duration - someFloat: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") someFloat_EQ: Float someFloat_GT: Float someFloat_GTE: Float someFloat_IN: [Float] someFloat_LT: Float someFloat_LTE: Float - someId: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") someId_CONTAINS: ID someId_ENDS_WITH: ID someId_EQ: ID someId_IN: [ID] someId_STARTS_WITH: ID - someInt: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") someInt_EQ: Int someInt_GT: Int someInt_GTE: Int someInt_IN: [Int] someInt_LT: Int someInt_LTE: Int - someLocalDateTime: LocalDateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") someLocalDateTime_EQ: LocalDateTime someLocalDateTime_GT: LocalDateTime someLocalDateTime_GTE: LocalDateTime someLocalDateTime_IN: [LocalDateTime] someLocalDateTime_LT: LocalDateTime someLocalDateTime_LTE: LocalDateTime - someLocalTime: LocalTime @deprecated(reason: \\"Please use the explicit _EQ version\\") someLocalTime_EQ: LocalTime someLocalTime_GT: LocalTime someLocalTime_GTE: LocalTime someLocalTime_IN: [LocalTime] someLocalTime_LT: LocalTime someLocalTime_LTE: LocalTime - someString: String @deprecated(reason: \\"Please use the explicit _EQ version\\") someString_CONTAINS: String someString_ENDS_WITH: String someString_EQ: String someString_IN: [String] someString_STARTS_WITH: String - someTime: Time @deprecated(reason: \\"Please use the explicit _EQ version\\") someTime_EQ: Time someTime_GT: Time someTime_GTE: Time @@ -850,7 +829,6 @@ describe("Aggregations", () => { AND: [PostLikesAggregateInput!] NOT: PostLikesAggregateInput OR: [PostLikesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1142,7 +1120,6 @@ describe("Aggregations", () => { likes_SINGLE: UserWhere \\"\\"\\"Return Posts where some of the related Users match this filter\\"\\"\\" likes_SOME: UserWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1306,68 +1283,58 @@ describe("Aggregations", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - someBigInt: BigInt @deprecated(reason: \\"Please use the explicit _EQ version\\") someBigInt_EQ: BigInt someBigInt_GT: BigInt someBigInt_GTE: BigInt someBigInt_IN: [BigInt] someBigInt_LT: BigInt someBigInt_LTE: BigInt - someDateTime: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") someDateTime_EQ: DateTime someDateTime_GT: DateTime someDateTime_GTE: DateTime someDateTime_IN: [DateTime] someDateTime_LT: DateTime someDateTime_LTE: DateTime - someDuration: Duration @deprecated(reason: \\"Please use the explicit _EQ version\\") someDuration_EQ: Duration someDuration_GT: Duration someDuration_GTE: Duration someDuration_IN: [Duration] someDuration_LT: Duration someDuration_LTE: Duration - someFloat: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") someFloat_EQ: Float someFloat_GT: Float someFloat_GTE: Float someFloat_IN: [Float] someFloat_LT: Float someFloat_LTE: Float - someId: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") someId_CONTAINS: ID someId_ENDS_WITH: ID someId_EQ: ID someId_IN: [ID] someId_STARTS_WITH: ID - someInt: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") someInt_EQ: Int someInt_GT: Int someInt_GTE: Int someInt_IN: [Int] someInt_LT: Int someInt_LTE: Int - someLocalDateTime: LocalDateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") someLocalDateTime_EQ: LocalDateTime someLocalDateTime_GT: LocalDateTime someLocalDateTime_GTE: LocalDateTime someLocalDateTime_IN: [LocalDateTime] someLocalDateTime_LT: LocalDateTime someLocalDateTime_LTE: LocalDateTime - someLocalTime: LocalTime @deprecated(reason: \\"Please use the explicit _EQ version\\") someLocalTime_EQ: LocalTime someLocalTime_GT: LocalTime someLocalTime_GTE: LocalTime someLocalTime_IN: [LocalTime] someLocalTime_LT: LocalTime someLocalTime_LTE: LocalTime - someString: String @deprecated(reason: \\"Please use the explicit _EQ version\\") someString_CONTAINS: String someString_ENDS_WITH: String someString_EQ: String someString_IN: [String] someString_STARTS_WITH: String - someTime: Time @deprecated(reason: \\"Please use the explicit _EQ version\\") someTime_EQ: Time someTime_GT: Time someTime_GTE: Time diff --git a/packages/graphql/tests/schema/array-methods.test.ts b/packages/graphql/tests/schema/array-methods.test.ts index 5631605a7e..8219c7abbe 100644 --- a/packages/graphql/tests/schema/array-methods.test.ts +++ b/packages/graphql/tests/schema/array-methods.test.ts @@ -78,7 +78,6 @@ describe("Arrays Methods", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - pay: [Float] @deprecated(reason: \\"Please use the explicit _EQ version\\") pay_EQ: [Float] pay_INCLUDES: Float } @@ -94,7 +93,6 @@ describe("Arrays Methods", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -287,7 +285,6 @@ describe("Arrays Methods", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -361,7 +358,6 @@ describe("Arrays Methods", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -543,20 +539,17 @@ describe("Arrays Methods", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float!] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - ratings: [Float!] @deprecated(reason: \\"Please use the explicit _EQ version\\") ratings_EQ: [Float!] ratings_INCLUDES: Float } diff --git a/packages/graphql/tests/schema/arrays.test.ts b/packages/graphql/tests/schema/arrays.test.ts index 0802b9f3ef..55a58a311f 100644 --- a/packages/graphql/tests/schema/arrays.test.ts +++ b/packages/graphql/tests/schema/arrays.test.ts @@ -123,20 +123,17 @@ describe("Arrays", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float!] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - ratings: [Float!] @deprecated(reason: \\"Please use the explicit _EQ version\\") ratings_EQ: [Float!] ratings_INCLUDES: Float } diff --git a/packages/graphql/tests/schema/authorization.test.ts b/packages/graphql/tests/schema/authorization.test.ts index 103565e8c4..35a981f59c 100644 --- a/packages/graphql/tests/schema/authorization.test.ts +++ b/packages/graphql/tests/schema/authorization.test.ts @@ -25,13 +25,13 @@ import { Neo4jGraphQL } from "../../src"; describe("Authorization", () => { test("Authorization", async () => { const typeDefs = gql` - type User @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type User @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! posts: [User!]! @relationship(type: "HAS_AUTHOR", direction: OUT) } - type Post @authorization(filter: [{ where: { node: { id: "$jwt.sub" } } }]) @node { + type Post @authorization(filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }]) @node { id: ID! name: String! author: User! @relationship(type: "HAS_AUTHOR", direction: IN) @@ -113,7 +113,6 @@ describe("Authorization", () => { AND: [PostAuthorAggregateInput!] NOT: PostAuthorAggregateInput OR: [PostAuthorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -260,13 +259,11 @@ describe("Authorization", () => { author: UserWhere authorAggregate: PostAuthorAggregateInput authorConnection: PostAuthorConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -367,7 +364,6 @@ describe("Authorization", () => { AND: [UserPostsAggregateInput!] NOT: UserPostsAggregateInput OR: [UserPostsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -496,13 +492,11 @@ describe("Authorization", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/comments.test.ts b/packages/graphql/tests/schema/comments.test.ts index d79a6d754b..5b0a151eb5 100644 --- a/packages/graphql/tests/schema/comments.test.ts +++ b/packages/graphql/tests/schema/comments.test.ts @@ -190,33 +190,27 @@ describe("Comments", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int] actorCount_LT: Int actorCount_LTE: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - customScalar: CustomScalar @deprecated(reason: \\"Please use the explicit _EQ version\\") customScalar_EQ: CustomScalar customScalar_IN: [CustomScalar] - genre: Genre @deprecated(reason: \\"Please use the explicit _EQ version\\") genre_EQ: Genre genre_IN: [Genre] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -331,7 +325,6 @@ describe("Comments", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -397,7 +390,6 @@ describe("Comments", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -544,7 +536,6 @@ describe("Comments", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -707,7 +698,6 @@ describe("Comments", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -728,7 +718,6 @@ describe("Comments", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -896,7 +885,6 @@ describe("Comments", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -990,14 +978,12 @@ describe("Comments", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1075,7 +1061,6 @@ describe("Comments", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1153,14 +1138,12 @@ describe("Comments", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int episodes_IN: [Int!] episodes_LT: Int episodes_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1295,7 +1278,6 @@ describe("Comments", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1495,7 +1477,6 @@ describe("Comments", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/connections/enums.test.ts b/packages/graphql/tests/schema/connections/enums.test.ts index 4310ad946e..5bc0219feb 100644 --- a/packages/graphql/tests/schema/connections/enums.test.ts +++ b/packages/graphql/tests/schema/connections/enums.test.ts @@ -79,7 +79,6 @@ describe("Enums", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - roleType: RoleType @deprecated(reason: \\"Please use the explicit _EQ version\\") roleType_EQ: RoleType roleType_IN: [RoleType!] } @@ -135,7 +134,6 @@ describe("Enums", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -272,7 +270,6 @@ describe("Enums", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -332,7 +329,6 @@ describe("Enums", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -500,7 +496,6 @@ describe("Enums", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/connections/interfaces.test.ts b/packages/graphql/tests/schema/connections/interfaces.test.ts index 7060f49f34..de7dcf0c01 100644 --- a/packages/graphql/tests/schema/connections/interfaces.test.ts +++ b/packages/graphql/tests/schema/connections/interfaces.test.ts @@ -129,7 +129,6 @@ describe("Connection with interfaces", () => { AND: [CreatureMoviesAggregateInput!] NOT: CreatureMoviesAggregateInput OR: [CreatureMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -225,7 +224,6 @@ describe("Connection with interfaces", () => { AND: [CreatureWhere!] NOT: CreatureWhere OR: [CreatureWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -300,7 +298,6 @@ describe("Connection with interfaces", () => { AND: [MovieDirectorAggregateInput!] NOT: MovieDirectorAggregateInput OR: [MovieDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -412,13 +409,11 @@ describe("Connection with interfaces", () => { director_SINGLE: CreatureWhere \\"\\"\\"Return Movies where some of the related Creatures match this filter\\"\\"\\" director_SOME: CreatureWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -488,7 +483,6 @@ describe("Connection with interfaces", () => { AND: [PersonMoviesAggregateInput!] NOT: PersonMoviesAggregateInput OR: [PersonMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -576,7 +570,6 @@ describe("Connection with interfaces", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -619,7 +612,6 @@ describe("Connection with interfaces", () => { AND: [ProductionDirectorAggregateInput!] NOT: ProductionDirectorAggregateInput OR: [ProductionDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -762,7 +754,6 @@ describe("Connection with interfaces", () => { Return Productions where some of the related Creatures match this filter \\"\\"\\" director_SOME: CreatureWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -841,7 +832,6 @@ describe("Connection with interfaces", () => { AND: [SeriesDirectorAggregateInput!] NOT: SeriesDirectorAggregateInput OR: [SeriesDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -958,20 +948,17 @@ describe("Connection with interfaces", () => { director_SINGLE: CreatureWhere \\"\\"\\"Return Series where some of the related Creatures match this filter\\"\\"\\" director_SOME: CreatureWhere - episode: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episode_EQ: Int episode_GT: Int episode_GTE: Int episode_IN: [Int!] episode_LT: Int episode_LTE: Int - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/connections/sort.test.ts b/packages/graphql/tests/schema/connections/sort.test.ts index 4a3106662f..8ddc130581 100644 --- a/packages/graphql/tests/schema/connections/sort.test.ts +++ b/packages/graphql/tests/schema/connections/sort.test.ts @@ -124,7 +124,6 @@ describe("Sort", () => { AND: [Node1RelatedToAggregateInput!] NOT: Node1RelatedToAggregateInput OR: [Node1RelatedToAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -204,7 +203,6 @@ describe("Sort", () => { AND: [Node1Where!] NOT: Node1Where OR: [Node1Where!] - property: String @deprecated(reason: \\"Please use the explicit _EQ version\\") property_CONTAINS: String property_ENDS_WITH: String property_EQ: String @@ -291,7 +289,6 @@ describe("Sort", () => { AND: [Node2RelatedToAggregateInput!] NOT: Node2RelatedToAggregateInput OR: [Node2RelatedToAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int diff --git a/packages/graphql/tests/schema/connections/unions.test.ts b/packages/graphql/tests/schema/connections/unions.test.ts index f04a65e2f7..5dd61a24f0 100644 --- a/packages/graphql/tests/schema/connections/unions.test.ts +++ b/packages/graphql/tests/schema/connections/unions.test.ts @@ -251,7 +251,6 @@ describe("Unions", () => { AND: [AuthorWhere!] NOT: AuthorWhere OR: [AuthorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -309,7 +308,6 @@ describe("Unions", () => { AND: [BookAuthorAggregateInput!] NOT: BookAuthorAggregateInput OR: [BookAuthorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -487,7 +485,6 @@ describe("Unions", () => { author_SINGLE: AuthorWhere \\"\\"\\"Return Books where some of the related Authors match this filter\\"\\"\\" author_SOME: AuthorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -555,7 +552,6 @@ describe("Unions", () => { AND: [JournalAuthorAggregateInput!] NOT: JournalAuthorAggregateInput OR: [JournalAuthorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -733,7 +729,6 @@ describe("Unions", () => { author_SINGLE: AuthorWhere \\"\\"\\"Return Journals where some of the related Authors match this filter\\"\\"\\" author_SOME: AuthorWhere - subject: String @deprecated(reason: \\"Please use the explicit _EQ version\\") subject_CONTAINS: String subject_ENDS_WITH: String subject_EQ: String @@ -880,7 +875,6 @@ describe("Unions", () => { AND: [WroteWhere!] NOT: WroteWhere OR: [WroteWhere!] - words: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") words_EQ: Int words_GT: Int words_GTE: Int diff --git a/packages/graphql/tests/schema/custom-mutations.test.ts b/packages/graphql/tests/schema/custom-mutations.test.ts index a18f3d11e9..ee85a5ca50 100644 --- a/packages/graphql/tests/schema/custom-mutations.test.ts +++ b/packages/graphql/tests/schema/custom-mutations.test.ts @@ -122,7 +122,6 @@ describe("Custom-mutations", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/directive-preserve.test.ts b/packages/graphql/tests/schema/directive-preserve.test.ts index b29197665d..5b355a2e00 100644 --- a/packages/graphql/tests/schema/directive-preserve.test.ts +++ b/packages/graphql/tests/schema/directive-preserve.test.ts @@ -106,7 +106,6 @@ describe("Directive-preserve", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -274,7 +273,6 @@ describe("Directive-preserve", () => { AND: [GenreMoviesAggregateInput!] NOT: GenreMoviesAggregateInput OR: [GenreMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -445,7 +443,6 @@ describe("Directive-preserve", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Genres where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -523,7 +520,6 @@ describe("Directive-preserve", () => { AND: [MovieGenresAggregateInput!] NOT: MovieGenresAggregateInput OR: [MovieGenresAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -666,20 +662,17 @@ describe("Directive-preserve", () => { genres_SINGLE: GenreWhere @deprecated(reason: \\"Do not use\\") \\"\\"\\"Return Movies where some of the related Genres match this filter\\"\\"\\" genres_SOME: GenreWhere @deprecated(reason: \\"Do not use\\") - imdbRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") imdbRating_EQ: Float imdbRating_GT: Float imdbRating_GTE: Float imdbRating_IN: [Float] imdbRating_LT: Float imdbRating_LTE: Float - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String title_IN: [String] title_STARTS_WITH: String - year: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") year_EQ: Int year_GT: Int year_GTE: Int @@ -851,7 +844,6 @@ describe("Directive-preserve", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - role: String @deprecated(reason: \\"Please use the explicit _EQ version\\") role_CONTAINS: String role_ENDS_WITH: String role_EQ: String @@ -870,7 +862,6 @@ describe("Directive-preserve", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1053,7 +1044,6 @@ describe("Directive-preserve", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1131,7 +1121,6 @@ describe("Directive-preserve", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1260,14 +1249,12 @@ describe("Directive-preserve", () => { actors_SINGLE: ActorWhere @deprecated(reason: \\"Do not use\\") \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere @deprecated(reason: \\"Do not use\\") - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1311,7 +1298,6 @@ describe("Directive-preserve", () => { AND: [ProductionActorsAggregateInput!] NOT: ProductionActorsAggregateInput OR: [ProductionActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1527,7 +1513,6 @@ describe("Directive-preserve", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Productions where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1583,7 +1568,6 @@ describe("Directive-preserve", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1718,14 +1702,12 @@ describe("Directive-preserve", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int episodes_IN: [Int!] episodes_LT: Int episodes_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1870,7 +1852,6 @@ describe("Directive-preserve", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - role: String @deprecated(reason: \\"Please use the explicit _EQ version\\") role_CONTAINS: String role_ENDS_WITH: String role_EQ: String @@ -1889,7 +1870,6 @@ describe("Directive-preserve", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2069,7 +2049,6 @@ describe("Directive-preserve", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2147,7 +2126,6 @@ describe("Directive-preserve", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2311,14 +2289,12 @@ describe("Directive-preserve", () => { actors_SINGLE: ActorWhere @deprecated(reason: \\"Do not use\\") \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere @deprecated(reason: \\"Do not use\\") - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2397,7 +2373,6 @@ describe("Directive-preserve", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2453,7 +2428,6 @@ describe("Directive-preserve", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2623,14 +2597,12 @@ describe("Directive-preserve", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int episodes_IN: [Int!] episodes_LT: Int episodes_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2763,7 +2735,6 @@ describe("Directive-preserve", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - role: String @deprecated(reason: \\"Please use the explicit _EQ version\\") role_CONTAINS: String role_ENDS_WITH: String role_EQ: String @@ -2782,7 +2753,6 @@ describe("Directive-preserve", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2962,7 +2932,6 @@ describe("Directive-preserve", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3040,7 +3009,6 @@ describe("Directive-preserve", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3204,14 +3172,12 @@ describe("Directive-preserve", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3290,7 +3256,6 @@ describe("Directive-preserve", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3346,7 +3311,6 @@ describe("Directive-preserve", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3516,14 +3480,12 @@ describe("Directive-preserve", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int episodes_IN: [Int!] episodes_LT: Int episodes_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3652,7 +3614,6 @@ describe("Directive-preserve", () => { AND: [BlogPostsAggregateInput!] NOT: BlogPostsAggregateInput OR: [BlogPostsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3780,7 +3741,6 @@ describe("Directive-preserve", () => { posts_SINGLE: PostWhere \\"\\"\\"Return Blogs where some of the related Posts match this filter\\"\\"\\" posts_SOME: PostWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3890,7 +3850,6 @@ describe("Directive-preserve", () => { AND: [PostWhere!] NOT: PostWhere OR: [PostWhere!] - content: String @deprecated(reason: \\"Do not use post.content\\") content_CONTAINS: String @deprecated(reason: \\"Do not use post.content\\") content_ENDS_WITH: String @deprecated(reason: \\"Do not use post.content\\") content_EQ: String @deprecated(reason: \\"Do not use post.content\\") @@ -4137,7 +4096,6 @@ describe("Directive-preserve", () => { content_SINGLE: ContentWhere @deprecated(reason: \\"Do not use user.content\\") \\"\\"\\"Return Users where some of the related Contents match this filter\\"\\"\\" content_SOME: ContentWhere @deprecated(reason: \\"Do not use user.content\\") - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/directives/alias.test.ts b/packages/graphql/tests/schema/directives/alias.test.ts index 1a081217d4..dfc7fd3988 100644 --- a/packages/graphql/tests/schema/directives/alias.test.ts +++ b/packages/graphql/tests/schema/directives/alias.test.ts @@ -62,7 +62,6 @@ describe("Alias", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -228,13 +227,11 @@ describe("Alias", () => { AND: [ActorActedInPropsWhere!] NOT: ActorActedInPropsWhere OR: [ActorActedInPropsWhere!] - character: String @deprecated(reason: \\"Please use the explicit _EQ version\\") character_CONTAINS: String character_ENDS_WITH: String character_EQ: String character_IN: [String!] character_STARTS_WITH: String - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -345,13 +342,11 @@ describe("Alias", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - city: String @deprecated(reason: \\"Please use the explicit _EQ version\\") city_CONTAINS: String city_ENDS_WITH: String city_EQ: String city_IN: [String] city_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -453,14 +448,12 @@ describe("Alias", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - rating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") rating_EQ: Float rating_GT: Float rating_GTE: Float rating_IN: [Float] rating_LT: Float rating_LTE: Float - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/directives/autogenerate.test.ts b/packages/graphql/tests/schema/directives/autogenerate.test.ts index e157b89607..dc262b2747 100644 --- a/packages/graphql/tests/schema/directives/autogenerate.test.ts +++ b/packages/graphql/tests/schema/directives/autogenerate.test.ts @@ -102,13 +102,11 @@ describe("Autogenerate", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/directives/customResolver.test.ts b/packages/graphql/tests/schema/directives/customResolver.test.ts index ccf997a250..aaada92438 100644 --- a/packages/graphql/tests/schema/directives/customResolver.test.ts +++ b/packages/graphql/tests/schema/directives/customResolver.test.ts @@ -186,7 +186,6 @@ describe("@customResolver directive", () => { AND: [UserInterfaceWhere!] NOT: UserInterfaceWhere OR: [UserInterfaceWhere!] - customResolver: String @deprecated(reason: \\"Please use the explicit _EQ version\\") customResolver_CONTAINS: String customResolver_ENDS_WITH: String customResolver_EQ: String @@ -223,19 +222,16 @@ describe("@customResolver directive", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String diff --git a/packages/graphql/tests/schema/directives/cypher.test.ts b/packages/graphql/tests/schema/directives/cypher.test.ts index b0896ea081..8399f5d3d6 100644 --- a/packages/graphql/tests/schema/directives/cypher.test.ts +++ b/packages/graphql/tests/schema/directives/cypher.test.ts @@ -166,7 +166,6 @@ describe("Cypher", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -336,16 +335,13 @@ describe("Cypher", () => { NOT: MovieWhere OR: [MovieWhere!] actor: ActorWhere - custom_big_int: BigInt @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_big_int_EQ: BigInt custom_big_int_GT: BigInt custom_big_int_GTE: BigInt custom_big_int_IN: [BigInt] custom_big_int_LT: BigInt custom_big_int_LTE: BigInt - custom_boolean: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_boolean_EQ: Boolean - custom_cartesian_point: CartesianPointInput @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_cartesian_point_DISTANCE: CartesianPointDistance custom_cartesian_point_EQ: CartesianPointInput custom_cartesian_point_GT: CartesianPointDistance @@ -353,62 +349,53 @@ describe("Cypher", () => { custom_cartesian_point_IN: [CartesianPointInput] custom_cartesian_point_LT: CartesianPointDistance custom_cartesian_point_LTE: CartesianPointDistance - custom_date: Date @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_date_EQ: Date custom_date_GT: Date custom_date_GTE: Date custom_date_IN: [Date] custom_date_LT: Date custom_date_LTE: Date - custom_datetime: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_datetime_EQ: DateTime custom_datetime_GT: DateTime custom_datetime_GTE: DateTime custom_datetime_IN: [DateTime] custom_datetime_LT: DateTime custom_datetime_LTE: DateTime - custom_duration: Duration @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_duration_EQ: Duration custom_duration_GT: Duration custom_duration_GTE: Duration custom_duration_IN: [Duration] custom_duration_LT: Duration custom_duration_LTE: Duration - custom_float: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_float_EQ: Float custom_float_GT: Float custom_float_GTE: Float custom_float_IN: [Float] custom_float_LT: Float custom_float_LTE: Float - custom_id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_id_CONTAINS: ID custom_id_ENDS_WITH: ID custom_id_EQ: ID custom_id_IN: [ID] custom_id_STARTS_WITH: ID - custom_int: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_int_EQ: Int custom_int_GT: Int custom_int_GTE: Int custom_int_IN: [Int] custom_int_LT: Int custom_int_LTE: Int - custom_localdatetime: LocalDateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_localdatetime_EQ: LocalDateTime custom_localdatetime_GT: LocalDateTime custom_localdatetime_GTE: LocalDateTime custom_localdatetime_IN: [LocalDateTime] custom_localdatetime_LT: LocalDateTime custom_localdatetime_LTE: LocalDateTime - custom_localtime: LocalTime @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_localtime_EQ: LocalTime custom_localtime_GT: LocalTime custom_localtime_GTE: LocalTime custom_localtime_IN: [LocalTime] custom_localtime_LT: LocalTime custom_localtime_LTE: LocalTime - custom_point: PointInput @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_point_DISTANCE: PointDistance custom_point_EQ: PointInput custom_point_GT: PointDistance @@ -416,64 +403,47 @@ describe("Cypher", () => { custom_point_IN: [PointInput] custom_point_LT: PointDistance custom_point_LTE: PointDistance - custom_string: String @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_string_CONTAINS: String custom_string_ENDS_WITH: String custom_string_EQ: String custom_string_IN: [String] custom_string_STARTS_WITH: String - custom_time: Time @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_time_EQ: Time custom_time_GT: Time custom_time_GTE: Time custom_time_IN: [Time] custom_time_LT: Time custom_time_LTE: Time - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - list_custom_of_ids: [ID] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_custom_of_ids_EQ: [ID] list_custom_of_ids_INCLUDES: ID - list_of_custom_big_ints: [BigInt] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_big_ints_EQ: [BigInt] list_of_custom_big_ints_INCLUDES: BigInt - list_of_custom_booleans: [Boolean] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_booleans_EQ: [Boolean] - list_of_custom_cartesian_points: [CartesianPointInput] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_cartesian_points_EQ: [CartesianPointInput] list_of_custom_cartesian_points_INCLUDES: CartesianPointInput - list_of_custom_dates: [Date] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_dates_EQ: [Date] list_of_custom_dates_INCLUDES: Date - list_of_custom_datetimes: [DateTime] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_datetimes_EQ: [DateTime] list_of_custom_datetimes_INCLUDES: DateTime - list_of_custom_durations: [Duration] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_durations_EQ: [Duration] list_of_custom_durations_INCLUDES: Duration - list_of_custom_floats: [Float] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_floats_EQ: [Float] list_of_custom_floats_INCLUDES: Float - list_of_custom_ints: [Int] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_ints_EQ: [Int] list_of_custom_ints_INCLUDES: Int - list_of_custom_localdatetimes: [LocalDateTime] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_localdatetimes_EQ: [LocalDateTime] list_of_custom_localdatetimes_INCLUDES: LocalDateTime - list_of_custom_localtimes: [LocalTime] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_localtimes_EQ: [LocalTime] list_of_custom_localtimes_INCLUDES: LocalTime - list_of_custom_points: [PointInput] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_points_EQ: [PointInput] list_of_custom_points_INCLUDES: PointInput - list_of_custom_strings: [String] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_strings_EQ: [String] list_of_custom_strings_INCLUDES: String - list_of_custom_times: [Time] @deprecated(reason: \\"Please use the explicit _EQ version\\") list_of_custom_times_EQ: [Time] list_of_custom_times_INCLUDES: Time } @@ -641,7 +611,6 @@ describe("Cypher", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - custom_cypher_string_list: [String] @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_cypher_string_list_EQ: [String] custom_cypher_string_list_INCLUDES: String } @@ -893,7 +862,6 @@ describe("Cypher", () => { NOT: BlogWhere OR: [BlogWhere!] post: PostWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -991,7 +959,6 @@ describe("Cypher", () => { AND: [PostWhere!] NOT: PostWhere OR: [PostWhere!] - content: String @deprecated(reason: \\"Please use the explicit _EQ version\\") content_CONTAINS: String content_ENDS_WITH: String content_EQ: String @@ -1144,7 +1111,6 @@ describe("Cypher", () => { NOT: ActorWhere OR: [ActorWhere!] movie: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1409,7 +1375,6 @@ describe("Cypher", () => { NOT: ActorWhere OR: [ActorWhere!] movie: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1623,13 +1588,11 @@ describe("Cypher", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - totalScreenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") totalScreenTime_EQ: Int totalScreenTime_GT: Int totalScreenTime_GTE: Int @@ -1710,7 +1673,6 @@ describe("Cypher", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1879,7 +1841,6 @@ describe("Cypher", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1903,13 +1864,11 @@ describe("Cypher", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - custom_title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_title_CONTAINS: String custom_title_ENDS_WITH: String custom_title_EQ: String custom_title_IN: [String] custom_title_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/directives/default.test.ts b/packages/graphql/tests/schema/directives/default.test.ts index 655ea38686..b6a5e40a69 100644 --- a/packages/graphql/tests/schema/directives/default.test.ts +++ b/packages/graphql/tests/schema/directives/default.test.ts @@ -234,13 +234,11 @@ describe("@default directive", () => { AND: [UserInterfaceWhere!] NOT: UserInterfaceWhere OR: [UserInterfaceWhere!] - fromInterface: String @deprecated(reason: \\"Please use the explicit _EQ version\\") fromInterface_CONTAINS: String fromInterface_ENDS_WITH: String fromInterface_EQ: String fromInterface_IN: [String!] fromInterface_STARTS_WITH: String - toBeOverridden: String @deprecated(reason: \\"Please use the explicit _EQ version\\") toBeOverridden_CONTAINS: String toBeOverridden_ENDS_WITH: String toBeOverridden_EQ: String @@ -301,49 +299,40 @@ describe("@default directive", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - fromInterface: String @deprecated(reason: \\"Please use the explicit _EQ version\\") fromInterface_CONTAINS: String fromInterface_ENDS_WITH: String fromInterface_EQ: String fromInterface_IN: [String!] fromInterface_STARTS_WITH: String - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - location: Location @deprecated(reason: \\"Please use the explicit _EQ version\\") location_EQ: Location location_IN: [Location!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String!] name_STARTS_WITH: String - numberOfFriends: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") numberOfFriends_EQ: Int numberOfFriends_GT: Int numberOfFriends_GTE: Int numberOfFriends_IN: [Int!] numberOfFriends_LT: Int numberOfFriends_LTE: Int - rating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") rating_EQ: Float rating_GT: Float rating_GTE: Float rating_IN: [Float!] rating_LT: Float rating_LTE: Float - toBeOverridden: String @deprecated(reason: \\"Please use the explicit _EQ version\\") toBeOverridden_CONTAINS: String toBeOverridden_ENDS_WITH: String toBeOverridden_EQ: String toBeOverridden_IN: [String!] toBeOverridden_STARTS_WITH: String - verified: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") - verifiedDate: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") verifiedDate_EQ: DateTime verifiedDate_GT: DateTime verifiedDate_GTE: DateTime diff --git a/packages/graphql/tests/schema/directives/filterable.test.ts b/packages/graphql/tests/schema/directives/filterable.test.ts index 6f1994bba1..4cea73f364 100644 --- a/packages/graphql/tests/schema/directives/filterable.test.ts +++ b/packages/graphql/tests/schema/directives/filterable.test.ts @@ -52,13 +52,13 @@ describe("@filterable directive", () => { const movieWhereFields = movieWhereType.getFields(); - const title = movieWhereFields["title"]; + const title_EQ = movieWhereFields["title_EQ"]; const title_IN = movieWhereFields["title_IN"]; const title_CONTAINS = movieWhereFields["title_CONTAINS"]; const title_STARTS_WITH = movieWhereFields["title_STARTS_WITH"]; const title_ENDS_WITH = movieWhereFields["title_ENDS_WITH"]; - const titleFilters = [title, title_IN, title_CONTAINS, title_STARTS_WITH, title_ENDS_WITH]; + const titleFilters = [title_EQ, title_IN, title_CONTAINS, title_STARTS_WITH, title_ENDS_WITH]; for (const scalarFilter of titleFilters) { expect(scalarFilter).toBeDefined(); @@ -70,14 +70,14 @@ describe("@filterable directive", () => { const movieSubscriptionWhereFields = movieSubscriptionWhereType.getFields(); - const subscriptionTitle = movieSubscriptionWhereFields["title"]; + const subscriptionTitle_EQ = movieSubscriptionWhereFields["title_EQ"]; const subscriptionTitle_IN = movieSubscriptionWhereFields["title_IN"]; const subscriptionTitle_CONTAINS = movieSubscriptionWhereFields["title_CONTAINS"]; const subscriptionTitle_STARTS_WITH = movieSubscriptionWhereFields["title_STARTS_WITH"]; const subscriptionTitle_ENDS_WITH = movieSubscriptionWhereFields["title_ENDS_WITH"]; const subscriptionTitleFilters = [ - subscriptionTitle, + subscriptionTitle_EQ, subscriptionTitle_IN, subscriptionTitle_CONTAINS, subscriptionTitle_STARTS_WITH, @@ -120,13 +120,13 @@ describe("@filterable directive", () => { expect(movieWhereType).toBeDefined(); const movieWhereFields = movieWhereType.getFields(); - const title = movieWhereFields["title"]; + const title_EQ = movieWhereFields["title_EQ"]; const title_IN = movieWhereFields["title_IN"]; const title_CONTAINS = movieWhereFields["title_CONTAINS"]; const title_STARTS_WITH = movieWhereFields["title_STARTS_WITH"]; const title_ENDS_WITH = movieWhereFields["title_ENDS_WITH"]; - const titleFilters = [title, title_IN, title_CONTAINS, title_STARTS_WITH, title_ENDS_WITH]; + const titleFilters = [title_EQ, title_IN, title_CONTAINS, title_STARTS_WITH, title_ENDS_WITH]; for (const scalarFilter of titleFilters) { expect(scalarFilter).toBeDefined(); @@ -138,14 +138,14 @@ describe("@filterable directive", () => { const movieSubscriptionWhereFields = movieSubscriptionWhereType.getFields(); - const subscriptionTitle = movieSubscriptionWhereFields["title"]; + const subscriptionTitle_EQ = movieSubscriptionWhereFields["title_EQ"]; const subscriptionTitle_IN = movieSubscriptionWhereFields["title_IN"]; const subscriptionTitle_CONTAINS = movieSubscriptionWhereFields["title_CONTAINS"]; const subscriptionTitle_STARTS_WITH = movieSubscriptionWhereFields["title_STARTS_WITH"]; const subscriptionTitle_ENDS_WITH = movieSubscriptionWhereFields["title_ENDS_WITH"]; const subscriptionTitleFilters = [ - subscriptionTitle, + subscriptionTitle_EQ, subscriptionTitle_IN, subscriptionTitle_CONTAINS, subscriptionTitle_STARTS_WITH, @@ -964,7 +964,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1043,13 +1042,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -1101,13 +1098,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -1176,7 +1171,6 @@ describe("@filterable directive", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1338,7 +1332,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1388,7 +1381,6 @@ describe("@filterable directive", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1571,7 +1563,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1672,13 +1663,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -1730,13 +1719,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -1805,7 +1792,6 @@ describe("@filterable directive", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1967,7 +1953,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2017,7 +2002,6 @@ describe("@filterable directive", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2200,7 +2184,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2301,13 +2284,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -2359,13 +2340,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -2434,7 +2413,6 @@ describe("@filterable directive", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2814,7 +2792,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2915,13 +2892,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -2973,13 +2948,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -3161,7 +3134,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3210,7 +3182,6 @@ describe("@filterable directive", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3395,7 +3366,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3496,13 +3466,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -3554,13 +3522,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -3629,7 +3595,6 @@ describe("@filterable directive", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3791,7 +3756,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3841,7 +3805,6 @@ describe("@filterable directive", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -4026,7 +3989,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4127,13 +4089,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -4185,13 +4145,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -4260,7 +4218,6 @@ describe("@filterable directive", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4422,7 +4379,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -4448,7 +4404,6 @@ describe("@filterable directive", () => { NOT: MovieWhere OR: [MovieWhere!] actorsAggregate: MovieActorsAggregateInput - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -4633,7 +4588,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4734,13 +4688,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -4792,13 +4744,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -4980,7 +4930,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5029,7 +4978,6 @@ describe("@filterable directive", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5207,7 +5155,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5308,13 +5255,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -5366,13 +5311,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -5550,7 +5493,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5599,7 +5541,6 @@ describe("@filterable directive", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5679,7 +5620,6 @@ describe("@filterable directive", () => { NOT: PersonWhere OR: [PersonWhere!] typename_IN: [PersonImplementation!] - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -5837,7 +5777,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5938,13 +5877,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -5996,13 +5933,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -6061,7 +5996,6 @@ describe("@filterable directive", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6214,7 +6148,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -6264,7 +6197,6 @@ describe("@filterable directive", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -6344,7 +6276,6 @@ describe("@filterable directive", () => { NOT: PersonWhere OR: [PersonWhere!] typename_IN: [PersonImplementation!] - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -6502,7 +6433,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6603,13 +6533,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -6661,13 +6589,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -6845,7 +6771,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -6894,7 +6819,6 @@ describe("@filterable directive", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -6974,7 +6898,6 @@ describe("@filterable directive", () => { NOT: PersonWhere OR: [PersonWhere!] typename_IN: [PersonImplementation!] - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -7148,7 +7071,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7249,13 +7171,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -7307,13 +7227,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -7398,7 +7316,6 @@ describe("@filterable directive", () => { AND: [AppearanceMoviesAggregateInput!] NOT: AppearanceMoviesAggregateInput OR: [AppearanceMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7499,13 +7416,11 @@ describe("@filterable directive", () => { AND: [AppearanceSubscriptionWhere!] NOT: AppearanceSubscriptionWhere OR: [AppearanceSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -7557,13 +7472,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Appearances where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -7809,7 +7722,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -7858,7 +7770,6 @@ describe("@filterable directive", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -8074,7 +7985,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -8175,13 +8085,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -8233,13 +8141,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -8324,7 +8230,6 @@ describe("@filterable directive", () => { AND: [AppearanceMoviesAggregateInput!] NOT: AppearanceMoviesAggregateInput OR: [AppearanceMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -8425,13 +8330,11 @@ describe("@filterable directive", () => { AND: [AppearanceSubscriptionWhere!] NOT: AppearanceSubscriptionWhere OR: [AppearanceSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -8483,13 +8386,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Appearances where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -8735,7 +8636,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -8784,7 +8684,6 @@ describe("@filterable directive", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -9000,7 +8899,6 @@ describe("@filterable directive", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -9101,13 +8999,11 @@ describe("@filterable directive", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -9159,13 +9055,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -9250,7 +9144,6 @@ describe("@filterable directive", () => { AND: [AppearanceMoviesAggregateInput!] NOT: AppearanceMoviesAggregateInput OR: [AppearanceMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -9351,13 +9244,11 @@ describe("@filterable directive", () => { AND: [AppearanceSubscriptionWhere!] NOT: AppearanceSubscriptionWhere OR: [AppearanceSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -9409,13 +9300,11 @@ describe("@filterable directive", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Appearances where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -9661,7 +9550,6 @@ describe("@filterable directive", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -9710,7 +9598,6 @@ describe("@filterable directive", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/directives/plural.test.ts b/packages/graphql/tests/schema/directives/plural.test.ts index 6c2866888e..0f1f0f7b91 100644 --- a/packages/graphql/tests/schema/directives/plural.test.ts +++ b/packages/graphql/tests/schema/directives/plural.test.ts @@ -136,13 +136,11 @@ describe("Plural option", () => { AND: [TechWhere!] NOT: TechWhere OR: [TechWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String @@ -286,13 +284,11 @@ describe("Plural option", () => { AND: [TechWhere!] NOT: TechWhere OR: [TechWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String @@ -436,13 +432,11 @@ describe("Plural option", () => { AND: [TechWhere!] NOT: TechWhere OR: [TechWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String @@ -586,7 +580,6 @@ describe("Plural option", () => { AND: [TechsWhere!] NOT: TechsWhere OR: [TechsWhere!] - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String @@ -739,7 +732,6 @@ describe("Plural option", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String @@ -871,7 +863,6 @@ describe("Plural option", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String @@ -1015,7 +1006,6 @@ describe("Plural option", () => { AND: [UsersWhere!] NOT: UsersWhere OR: [UsersWhere!] - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String diff --git a/packages/graphql/tests/schema/directives/populatedBy.test.ts b/packages/graphql/tests/schema/directives/populatedBy.test.ts index 8e1e2d921d..aa3f705cfc 100644 --- a/packages/graphql/tests/schema/directives/populatedBy.test.ts +++ b/packages/graphql/tests/schema/directives/populatedBy.test.ts @@ -234,25 +234,21 @@ describe("@populatedBy tests", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - callback1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") callback1_CONTAINS: String callback1_ENDS_WITH: String callback1_EQ: String callback1_IN: [String!] callback1_STARTS_WITH: String - callback2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") callback2_CONTAINS: String callback2_ENDS_WITH: String callback2_EQ: String callback2_IN: [String!] callback2_STARTS_WITH: String - callback3: String @deprecated(reason: \\"Please use the explicit _EQ version\\") callback3_CONTAINS: String callback3_ENDS_WITH: String callback3_EQ: String callback3_IN: [String!] callback3_STARTS_WITH: String - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -432,28 +428,24 @@ describe("@populatedBy tests", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - callback1: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") callback1_EQ: Int callback1_GT: Int callback1_GTE: Int callback1_IN: [Int!] callback1_LT: Int callback1_LTE: Int - callback2: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") callback2_EQ: Int callback2_GT: Int callback2_GTE: Int callback2_IN: [Int!] callback2_LT: Int callback2_LTE: Int - callback3: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") callback3_EQ: Int callback3_GT: Int callback3_GTE: Int callback3_IN: [Int!] callback3_LT: Int callback3_LTE: Int - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -755,7 +747,6 @@ describe("@populatedBy tests", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -821,7 +812,6 @@ describe("@populatedBy tests", () => { AND: [MovieGenresAggregateInput!] NOT: MovieGenresAggregateInput OR: [MovieGenresAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -951,7 +941,6 @@ describe("@populatedBy tests", () => { genres_SINGLE: GenreWhere \\"\\"\\"Return Movies where some of the related Genres match this filter\\"\\"\\" genres_SOME: GenreWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1086,25 +1075,21 @@ describe("@populatedBy tests", () => { AND: [RelPropertiesWhere!] NOT: RelPropertiesWhere OR: [RelPropertiesWhere!] - callback1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") callback1_CONTAINS: String callback1_ENDS_WITH: String callback1_EQ: String callback1_IN: [String!] callback1_STARTS_WITH: String - callback2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") callback2_CONTAINS: String callback2_ENDS_WITH: String callback2_EQ: String callback2_IN: [String!] callback2_STARTS_WITH: String - callback3: String @deprecated(reason: \\"Please use the explicit _EQ version\\") callback3_CONTAINS: String callback3_ENDS_WITH: String callback3_EQ: String callback3_IN: [String!] callback3_STARTS_WITH: String - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1255,7 +1240,6 @@ describe("@populatedBy tests", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1328,7 +1312,6 @@ describe("@populatedBy tests", () => { AND: [MovieGenresAggregateInput!] NOT: MovieGenresAggregateInput OR: [MovieGenresAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1458,7 +1441,6 @@ describe("@populatedBy tests", () => { genres_SINGLE: GenreWhere \\"\\"\\"Return Movies where some of the related Genres match this filter\\"\\"\\" genres_SOME: GenreWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1610,28 +1592,24 @@ describe("@populatedBy tests", () => { AND: [RelPropertiesWhere!] NOT: RelPropertiesWhere OR: [RelPropertiesWhere!] - callback1: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") callback1_EQ: Int callback1_GT: Int callback1_GTE: Int callback1_IN: [Int!] callback1_LT: Int callback1_LTE: Int - callback2: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") callback2_EQ: Int callback2_GT: Int callback2_GTE: Int callback2_IN: [Int!] callback2_LT: Int callback2_LTE: Int - callback3: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") callback3_EQ: Int callback3_GT: Int callback3_GTE: Int callback3_IN: [Int!] callback3_LT: Int callback3_LTE: Int - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/directives/private.test.ts b/packages/graphql/tests/schema/directives/private.test.ts index a700d8e32b..294dc69ca7 100644 --- a/packages/graphql/tests/schema/directives/private.test.ts +++ b/packages/graphql/tests/schema/directives/private.test.ts @@ -164,7 +164,6 @@ describe("@private directive", () => { AND: [UserInterfaceWhere!] NOT: UserInterfaceWhere OR: [UserInterfaceWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -195,7 +194,6 @@ describe("@private directive", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -360,7 +358,6 @@ describe("@private directive", () => { AND: [UserInterfaceWhere!] NOT: UserInterfaceWhere OR: [UserInterfaceWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -394,13 +391,11 @@ describe("@private directive", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - private: String @deprecated(reason: \\"Please use the explicit _EQ version\\") private_CONTAINS: String private_ENDS_WITH: String private_EQ: String diff --git a/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts b/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts index 803da52613..5b4a832d0b 100644 --- a/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts +++ b/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts @@ -271,13 +271,11 @@ describe("@relationship directive, aggregate argument", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -327,7 +325,6 @@ describe("@relationship directive, aggregate argument", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -489,7 +486,6 @@ describe("@relationship directive, aggregate argument", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -630,13 +626,11 @@ describe("@relationship directive, aggregate argument", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -697,7 +691,6 @@ describe("@relationship directive, aggregate argument", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -859,7 +852,6 @@ describe("@relationship directive, aggregate argument", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1002,13 +994,11 @@ describe("@relationship directive, aggregate argument", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -1058,7 +1048,6 @@ describe("@relationship directive, aggregate argument", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1220,7 +1209,6 @@ describe("@relationship directive, aggregate argument", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1304,14 +1292,12 @@ describe("@relationship directive, aggregate argument", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String typename_IN: [PersonImplementation!] - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -1432,13 +1418,11 @@ describe("@relationship directive, aggregate argument", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -1489,7 +1473,6 @@ describe("@relationship directive, aggregate argument", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1661,7 +1644,6 @@ describe("@relationship directive, aggregate argument", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1745,14 +1727,12 @@ describe("@relationship directive, aggregate argument", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String typename_IN: [PersonImplementation!] - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -1881,13 +1861,11 @@ describe("@relationship directive, aggregate argument", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -2118,7 +2096,6 @@ describe("@relationship directive, aggregate argument", () => { actors_SINGLE: CastMemberWhere \\"\\"\\"Return Movies where some of the related CastMembers match this filter\\"\\"\\" actors_SOME: CastMemberWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2196,7 +2173,6 @@ describe("@relationship directive, aggregate argument", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2328,13 +2304,11 @@ describe("@relationship directive, aggregate argument", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -2565,7 +2539,6 @@ describe("@relationship directive, aggregate argument", () => { actors_SINGLE: CastMemberWhere \\"\\"\\"Return Movies where some of the related CastMembers match this filter\\"\\"\\" actors_SOME: CastMemberWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2643,7 +2616,6 @@ describe("@relationship directive, aggregate argument", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/directives/relationship-nested-operations.test.ts b/packages/graphql/tests/schema/directives/relationship-nested-operations.test.ts index d812c61fe5..4a56d69304 100644 --- a/packages/graphql/tests/schema/directives/relationship-nested-operations.test.ts +++ b/packages/graphql/tests/schema/directives/relationship-nested-operations.test.ts @@ -92,7 +92,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -208,7 +207,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -279,7 +277,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -393,7 +390,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -524,7 +520,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -595,7 +590,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -709,7 +703,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -840,7 +833,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -915,7 +907,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1029,7 +1020,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1155,7 +1145,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1226,7 +1215,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1340,7 +1328,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1470,7 +1457,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1541,7 +1527,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1655,7 +1640,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1781,7 +1765,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1852,7 +1835,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1967,7 +1949,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2083,7 +2064,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -2154,7 +2134,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2270,7 +2249,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2397,7 +2375,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -2471,13 +2448,11 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2595,7 +2570,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2722,7 +2696,6 @@ describe("Relationship nested operations", () => { AND: [MovieProducersAggregateInput!] NOT: MovieProducersAggregateInput OR: [MovieProducersAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2826,7 +2799,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -2926,7 +2898,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3044,7 +3015,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3146,7 +3116,6 @@ describe("Relationship nested operations", () => { AND: [MovieProducersAggregateInput!] NOT: MovieProducersAggregateInput OR: [MovieProducersAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3250,7 +3219,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -3346,7 +3314,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3557,7 +3524,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -3627,7 +3593,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3675,7 +3640,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -3937,7 +3901,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -4007,7 +3970,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -4055,7 +4017,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -4317,7 +4278,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -4391,7 +4351,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -4443,7 +4402,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -4691,7 +4649,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -4761,7 +4718,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -4809,7 +4765,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -5066,7 +5021,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -5136,7 +5090,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -5184,7 +5137,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -5432,7 +5384,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -5502,7 +5453,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -5550,7 +5500,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -5775,7 +5724,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -5845,7 +5793,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -5893,7 +5840,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -6120,7 +6066,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -6193,13 +6138,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -6250,13 +6193,11 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -6626,7 +6567,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -6724,7 +6664,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -6776,7 +6715,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -7095,7 +7033,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -7189,7 +7126,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -7237,7 +7173,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String @@ -7392,7 +7327,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7508,7 +7442,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -7607,13 +7540,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - someExtraProp: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") someExtraProp_EQ: [Int!] someExtraProp_INCLUDES: Int } @@ -7665,7 +7596,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -7683,7 +7613,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -7823,7 +7752,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7954,7 +7882,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -8058,13 +7985,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - someExtraProp: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") someExtraProp_EQ: [Int!] someExtraProp_INCLUDES: Int } @@ -8116,7 +8041,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -8134,7 +8058,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -8274,7 +8197,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -8405,7 +8327,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -8508,13 +8429,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - someExtraProp: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") someExtraProp_EQ: [Int!] someExtraProp_INCLUDES: Int } @@ -8566,7 +8485,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -8584,7 +8502,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -8724,7 +8641,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -8850,7 +8766,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -8949,13 +8864,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - someExtraProp: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") someExtraProp_EQ: [Int!] someExtraProp_INCLUDES: Int } @@ -9007,7 +8920,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -9030,7 +8942,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -9170,7 +9081,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -9300,7 +9210,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -9399,13 +9308,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - someExtraProp: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") someExtraProp_EQ: [Int!] someExtraProp_INCLUDES: Int } @@ -9457,7 +9364,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -9475,7 +9381,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -9615,7 +9520,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -9741,7 +9645,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -9840,13 +9743,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - someExtraProp: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") someExtraProp_EQ: [Int!] someExtraProp_INCLUDES: Int } @@ -9898,7 +9799,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -9916,7 +9816,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -10060,7 +9959,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -10187,7 +10085,6 @@ describe("Relationship nested operations", () => { AND: [MovieProducersAggregateInput!] NOT: MovieProducersAggregateInput OR: [MovieProducersAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -10291,7 +10188,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -10424,13 +10320,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - someExtraProp: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") someExtraProp_EQ: [Int!] someExtraProp_INCLUDES: Int } @@ -10482,7 +10376,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -10505,7 +10398,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -10650,7 +10542,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -10761,7 +10652,6 @@ describe("Relationship nested operations", () => { AND: [MovieProducersAggregateInput!] NOT: MovieProducersAggregateInput OR: [MovieProducersAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -10865,7 +10755,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -10994,13 +10883,11 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - someExtraProp: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") someExtraProp_EQ: [Int!] someExtraProp_INCLUDES: Int } @@ -11052,7 +10939,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -11070,7 +10956,6 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/directives/relationship-properties.test.ts b/packages/graphql/tests/schema/directives/relationship-properties.test.ts index 4a73ae063e..ee3018604f 100644 --- a/packages/graphql/tests/schema/directives/relationship-properties.test.ts +++ b/packages/graphql/tests/schema/directives/relationship-properties.test.ts @@ -114,16 +114,13 @@ describe("Relationship-properties", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - leadRole: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") leadRole_EQ: Boolean - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int screenTime_IN: [Int!] screenTime_LT: Int screenTime_LTE: Int - startDate: Date @deprecated(reason: \\"Please use the explicit _EQ version\\") startDate_EQ: Date startDate_GT: Date startDate_GTE: Date @@ -188,7 +185,6 @@ describe("Relationship-properties", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -326,7 +322,6 @@ describe("Relationship-properties", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -401,7 +396,6 @@ describe("Relationship-properties", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -570,7 +564,6 @@ describe("Relationship-properties", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -750,20 +743,17 @@ describe("Relationship-properties", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int screenTime_IN: [Int!] screenTime_LT: Int screenTime_LTE: Int - timestamp: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") timestamp_EQ: DateTime timestamp_GT: DateTime timestamp_GTE: DateTime @@ -830,7 +820,6 @@ describe("Relationship-properties", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -968,7 +957,6 @@ describe("Relationship-properties", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1055,7 +1043,6 @@ describe("Relationship-properties", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1224,7 +1211,6 @@ describe("Relationship-properties", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1370,13 +1356,11 @@ describe("Relationship-properties", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - timestamp: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") timestamp_EQ: DateTime timestamp_GT: DateTime timestamp_GTE: DateTime @@ -1442,7 +1426,6 @@ describe("Relationship-properties", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1577,7 +1560,6 @@ describe("Relationship-properties", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1656,7 +1638,6 @@ describe("Relationship-properties", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1822,7 +1803,6 @@ describe("Relationship-properties", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/directives/relationship.test.ts b/packages/graphql/tests/schema/directives/relationship.test.ts index cba75ab0cf..924398f460 100644 --- a/packages/graphql/tests/schema/directives/relationship.test.ts +++ b/packages/graphql/tests/schema/directives/relationship.test.ts @@ -81,7 +81,6 @@ describe("Relationship", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -146,7 +145,6 @@ describe("Relationship", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -293,7 +291,6 @@ describe("Relationship", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -440,7 +437,6 @@ describe("Relationship", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -566,7 +562,6 @@ describe("Relationship", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -631,7 +626,6 @@ describe("Relationship", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -793,7 +787,6 @@ describe("Relationship", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/directives/selectable.test.ts b/packages/graphql/tests/schema/directives/selectable.test.ts index a3d9c58879..48f76bd40d 100644 --- a/packages/graphql/tests/schema/directives/selectable.test.ts +++ b/packages/graphql/tests/schema/directives/selectable.test.ts @@ -99,13 +99,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -244,13 +242,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -388,13 +384,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -551,13 +545,11 @@ describe("@selectable", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -583,13 +575,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -691,7 +681,6 @@ describe("@selectable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -848,7 +837,6 @@ describe("@selectable", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -932,13 +920,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1045,7 +1031,6 @@ describe("@selectable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1217,7 +1202,6 @@ describe("@selectable", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1301,13 +1285,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1579,7 +1561,6 @@ describe("@selectable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1668,13 +1649,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1778,13 +1757,11 @@ describe("@selectable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2039,7 +2016,6 @@ describe("@selectable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2128,13 +2104,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2238,13 +2212,11 @@ describe("@selectable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2335,7 +2307,6 @@ describe("@selectable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2492,7 +2463,6 @@ describe("@selectable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2577,13 +2547,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2666,13 +2634,11 @@ describe("@selectable", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2748,13 +2714,11 @@ describe("@selectable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2844,7 +2808,6 @@ describe("@selectable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3016,7 +2979,6 @@ describe("@selectable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3101,13 +3063,11 @@ describe("@selectable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3190,13 +3150,11 @@ describe("@selectable", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3272,13 +3230,11 @@ describe("@selectable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/directives/settable.test.ts b/packages/graphql/tests/schema/directives/settable.test.ts index 2ef378b33b..496ee57f34 100644 --- a/packages/graphql/tests/schema/directives/settable.test.ts +++ b/packages/graphql/tests/schema/directives/settable.test.ts @@ -99,13 +99,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -243,13 +241,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -407,13 +403,11 @@ describe("@settable", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -437,13 +431,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -547,7 +539,6 @@ describe("@settable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -713,7 +704,6 @@ describe("@settable", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -797,13 +787,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -911,7 +899,6 @@ describe("@settable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1065,7 +1052,6 @@ describe("@settable", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1149,13 +1135,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1262,7 +1246,6 @@ describe("@settable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1435,7 +1418,6 @@ describe("@settable", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1496,7 +1478,6 @@ describe("@settable", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1663,13 +1644,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1776,7 +1755,6 @@ describe("@settable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1957,7 +1935,6 @@ describe("@settable", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2018,7 +1995,6 @@ describe("@settable", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2185,13 +2161,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2459,7 +2433,6 @@ describe("@settable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2548,13 +2521,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2658,13 +2629,11 @@ describe("@settable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2880,7 +2849,6 @@ describe("@settable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2969,13 +2937,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3079,13 +3045,11 @@ describe("@settable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3333,7 +3297,6 @@ describe("@settable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3399,7 +3362,6 @@ describe("@settable", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3566,13 +3528,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3676,13 +3636,11 @@ describe("@settable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3946,7 +3904,6 @@ describe("@settable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -4012,7 +3969,6 @@ describe("@settable", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4179,13 +4135,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -4289,13 +4243,11 @@ describe("@settable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -4388,7 +4340,6 @@ describe("@settable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4554,7 +4505,6 @@ describe("@settable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -4639,13 +4589,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -4728,13 +4676,11 @@ describe("@settable", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -4810,13 +4756,11 @@ describe("@settable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -4907,7 +4851,6 @@ describe("@settable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5061,7 +5004,6 @@ describe("@settable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -5146,13 +5088,11 @@ describe("@settable", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5228,13 +5168,11 @@ describe("@settable", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5310,13 +5248,11 @@ describe("@settable", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5408,7 +5344,6 @@ describe("@settable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5581,7 +5516,6 @@ describe("@settable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -5647,7 +5581,6 @@ describe("@settable", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5770,13 +5703,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5821,7 +5752,6 @@ describe("@settable", () => { AND: [ProductionActorsAggregateInput!] NOT: ProductionActorsAggregateInput OR: [ProductionActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5962,13 +5892,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Productions where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -6019,7 +5947,6 @@ describe("@settable", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6148,13 +6075,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -6246,7 +6171,6 @@ describe("@settable", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6427,7 +6351,6 @@ describe("@settable", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -6493,7 +6416,6 @@ describe("@settable", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6616,13 +6538,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -6667,7 +6587,6 @@ describe("@settable", () => { AND: [ProductionActorsAggregateInput!] NOT: ProductionActorsAggregateInput OR: [ProductionActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6833,13 +6752,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Productions where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -6890,7 +6807,6 @@ describe("@settable", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7019,13 +6935,11 @@ describe("@settable", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/directives/timestamps.test.ts b/packages/graphql/tests/schema/directives/timestamps.test.ts index 0d20960a61..5eb2b47004 100644 --- a/packages/graphql/tests/schema/directives/timestamps.test.ts +++ b/packages/graphql/tests/schema/directives/timestamps.test.ts @@ -117,20 +117,17 @@ describe("Timestamps", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - createdAt: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") createdAt_EQ: DateTime createdAt_GT: DateTime createdAt_GTE: DateTime createdAt_IN: [DateTime!] createdAt_LT: DateTime createdAt_LTE: DateTime - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - updatedAt: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") updatedAt_EQ: DateTime updatedAt_GT: DateTime updatedAt_GTE: DateTime diff --git a/packages/graphql/tests/schema/enum.test.ts b/packages/graphql/tests/schema/enum.test.ts index 88ab4fa88c..a4f49aa9e6 100644 --- a/packages/graphql/tests/schema/enum.test.ts +++ b/packages/graphql/tests/schema/enum.test.ts @@ -98,7 +98,6 @@ describe("Enum", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - status: Status @deprecated(reason: \\"Please use the explicit _EQ version\\") status_EQ: Status status_IN: [Status] } diff --git a/packages/graphql/tests/schema/extend.test.ts b/packages/graphql/tests/schema/extend.test.ts index 13d147490c..2fa5a60a67 100644 --- a/packages/graphql/tests/schema/extend.test.ts +++ b/packages/graphql/tests/schema/extend.test.ts @@ -108,13 +108,11 @@ describe("Extend", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/federation.test.ts b/packages/graphql/tests/schema/federation.test.ts index f50e29e602..a31f1211a1 100644 --- a/packages/graphql/tests/schema/federation.test.ts +++ b/packages/graphql/tests/schema/federation.test.ts @@ -128,7 +128,6 @@ describe("Apollo Federation", () => { AND: [PostAuthorAggregateInput!] NOT: PostAuthorAggregateInput OR: [PostAuthorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -272,7 +271,6 @@ describe("Apollo Federation", () => { author: UserWhere authorAggregate: PostAuthorAggregateInput authorConnection: PostAuthorConnectionWhere - content: String @deprecated(reason: \\"Please use the explicit _EQ version\\") content_CONTAINS: String content_ENDS_WITH: String content_EQ: String @@ -380,7 +378,6 @@ describe("Apollo Federation", () => { AND: [UserPostsAggregateInput!] NOT: UserPostsAggregateInput OR: [UserPostsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -486,7 +483,6 @@ describe("Apollo Federation", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -652,7 +648,6 @@ describe("Apollo Federation", () => { AND: [PostAuthorAggregateInput!] NOT: PostAuthorAggregateInput OR: [PostAuthorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -781,7 +776,6 @@ describe("Apollo Federation", () => { author: UserWhere authorAggregate: PostAuthorAggregateInput authorConnection: PostAuthorConnectionWhere - content: String @deprecated(reason: \\"Please use the explicit _EQ version\\") content_CONTAINS: String content_ENDS_WITH: String content_EQ: String @@ -877,7 +871,6 @@ describe("Apollo Federation", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/fulltext.test.ts b/packages/graphql/tests/schema/fulltext.test.ts index b6ede491c6..47477bc7af 100644 --- a/packages/graphql/tests/schema/fulltext.test.ts +++ b/packages/graphql/tests/schema/fulltext.test.ts @@ -132,13 +132,11 @@ describe("@fulltext schema", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/global-node.test.ts b/packages/graphql/tests/schema/global-node.test.ts index 215d4b9483..2a3339cf20 100644 --- a/packages/graphql/tests/schema/global-node.test.ts +++ b/packages/graphql/tests/schema/global-node.test.ts @@ -107,13 +107,11 @@ describe("Node Interface Types", () => { NOT: MovieWhere OR: [MovieWhere!] id: ID - imdb: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") imdb_CONTAINS: ID imdb_ENDS_WITH: ID imdb_EQ: ID imdb_IN: [ID!] imdb_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/inheritance.test.ts b/packages/graphql/tests/schema/inheritance.test.ts index 5a52fcd141..a1dee5ac11 100644 --- a/packages/graphql/tests/schema/inheritance.test.ts +++ b/packages/graphql/tests/schema/inheritance.test.ts @@ -88,7 +88,6 @@ describe("inheritance", () => { AND: [ActorFriendsAggregateInput!] NOT: ActorFriendsAggregateInput OR: [ActorFriendsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -215,7 +214,6 @@ describe("inheritance", () => { friends_SINGLE: PersonWhere \\"\\"\\"Return Actors where some of the related People match this filter\\"\\"\\" friends_SOME: PersonWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -303,7 +301,6 @@ describe("inheritance", () => { AND: [FriendsWithWhere!] NOT: FriendsWithWhere OR: [FriendsWithWhere!] - since: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") since_EQ: Int since_GT: Int since_GTE: Int @@ -379,7 +376,6 @@ describe("inheritance", () => { AND: [PersonFriendsAggregateInput!] NOT: PersonFriendsAggregateInput OR: [PersonFriendsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -558,7 +554,6 @@ describe("inheritance", () => { friends_SINGLE: PersonWhere \\"\\"\\"Return People where some of the related People match this filter\\"\\"\\" friends_SOME: PersonWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/inputs.test.ts b/packages/graphql/tests/schema/inputs.test.ts index b7e2f84452..a867295ad3 100644 --- a/packages/graphql/tests/schema/inputs.test.ts +++ b/packages/graphql/tests/schema/inputs.test.ts @@ -106,7 +106,6 @@ describe("Inputs", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/interface-relationships.test.ts b/packages/graphql/tests/schema/interface-relationships.test.ts index c6de860d8c..122c166f83 100644 --- a/packages/graphql/tests/schema/interface-relationships.test.ts +++ b/packages/graphql/tests/schema/interface-relationships.test.ts @@ -110,7 +110,6 @@ describe("Interface Relationships", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -130,7 +129,6 @@ describe("Interface Relationships", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -298,7 +296,6 @@ describe("Interface Relationships", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -392,14 +389,12 @@ describe("Interface Relationships", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -477,7 +472,6 @@ describe("Interface Relationships", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -555,14 +549,12 @@ describe("Interface Relationships", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int episodes_IN: [Int!] episodes_LT: Int episodes_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -708,7 +700,6 @@ describe("Interface Relationships", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -728,7 +719,6 @@ describe("Interface Relationships", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -911,7 +901,6 @@ describe("Interface Relationships", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1003,7 +992,6 @@ describe("Interface Relationships", () => { AND: [EpisodeSeriesAggregateInput!] NOT: EpisodeSeriesAggregateInput OR: [EpisodeSeriesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1141,7 +1129,6 @@ describe("Interface Relationships", () => { AND: [EpisodeWhere!] NOT: EpisodeWhere OR: [EpisodeWhere!] - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int @@ -1192,7 +1179,6 @@ describe("Interface Relationships", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1321,14 +1307,12 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1375,7 +1359,6 @@ describe("Interface Relationships", () => { AND: [ProductionActorsAggregateInput!] NOT: ProductionActorsAggregateInput OR: [ProductionActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1591,7 +1574,6 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Productions where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1653,7 +1635,6 @@ describe("Interface Relationships", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1770,7 +1751,6 @@ describe("Interface Relationships", () => { AND: [SeriesEpisodesAggregateInput!] NOT: SeriesEpisodesAggregateInput OR: [SeriesEpisodesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1912,7 +1892,6 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - episodeCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodeCount_EQ: Int episodeCount_GT: Int episodeCount_GTE: Int @@ -1944,7 +1923,6 @@ describe("Interface Relationships", () => { episodes_SINGLE: EpisodeWhere \\"\\"\\"Return Series where some of the related Episodes match this filter\\"\\"\\" episodes_SOME: EpisodeWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2098,7 +2076,6 @@ describe("Interface Relationships", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -2118,7 +2095,6 @@ describe("Interface Relationships", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2301,7 +2277,6 @@ describe("Interface Relationships", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2393,7 +2368,6 @@ describe("Interface Relationships", () => { AND: [EpisodeSeriesAggregateInput!] NOT: EpisodeSeriesAggregateInput OR: [EpisodeSeriesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2531,7 +2505,6 @@ describe("Interface Relationships", () => { AND: [EpisodeWhere!] NOT: EpisodeWhere OR: [EpisodeWhere!] - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int @@ -2582,7 +2555,6 @@ describe("Interface Relationships", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2711,14 +2683,12 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -2765,7 +2735,6 @@ describe("Interface Relationships", () => { AND: [ProductionActorsAggregateInput!] NOT: ProductionActorsAggregateInput OR: [ProductionActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3001,7 +2970,6 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Productions where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3063,7 +3031,6 @@ describe("Interface Relationships", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3180,7 +3147,6 @@ describe("Interface Relationships", () => { AND: [SeriesEpisodesAggregateInput!] NOT: SeriesEpisodesAggregateInput OR: [SeriesEpisodesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3322,7 +3288,6 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - episodeCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodeCount_EQ: Int episodeCount_GT: Int episodeCount_GTE: Int @@ -3354,7 +3319,6 @@ describe("Interface Relationships", () => { episodes_SINGLE: EpisodeWhere \\"\\"\\"Return Series where some of the related Episodes match this filter\\"\\"\\" episodes_SOME: EpisodeWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -3423,7 +3387,6 @@ describe("Interface Relationships", () => { AND: [StarredInWhere!] NOT: StarredInWhere OR: [StarredInWhere!] - seasons: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") seasons_EQ: Int seasons_GT: Int seasons_GTE: Int @@ -3600,7 +3563,6 @@ describe("Interface Relationships", () => { AND: [Interface1Interface2AggregateInput!] NOT: Interface1Interface2AggregateInput OR: [Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3698,7 +3660,6 @@ describe("Interface Relationships", () => { AND: [Interface1Where!] NOT: Interface1Where OR: [Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -3790,7 +3751,6 @@ describe("Interface Relationships", () => { AND: [Interface2Where!] NOT: Interface2Where OR: [Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -3905,7 +3865,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1AggregateInput!] NOT: Type1Interface1AggregateInput OR: [Type1Interface1AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3987,7 +3946,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1Interface2AggregateInput!] NOT: Type1Interface1Interface2AggregateInput OR: [Type1Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4116,7 +4074,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1Where!] NOT: Type1Interface1Where OR: [Type1Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -4197,7 +4154,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface2Where!] NOT: Type1Interface2Where OR: [Type1Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -4228,7 +4184,6 @@ describe("Interface Relationships", () => { AND: [Type1Where!] NOT: Type1Where OR: [Type1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -4297,7 +4252,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface1Interface2AggregateInput!] NOT: Type2Interface1Interface2AggregateInput OR: [Type2Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4387,7 +4341,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface1Where!] NOT: Type2Interface1Where OR: [Type2Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -4468,7 +4421,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface2Where!] NOT: Type2Interface2Where OR: [Type2Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -4666,7 +4618,6 @@ describe("Interface Relationships", () => { AND: [Interface1Interface2AggregateInput!] NOT: Interface1Interface2AggregateInput OR: [Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4818,7 +4769,6 @@ describe("Interface Relationships", () => { AND: [Interface1Where!] NOT: Interface1Where OR: [Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -4910,7 +4860,6 @@ describe("Interface Relationships", () => { AND: [Interface2Where!] NOT: Interface2Where OR: [Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -5005,7 +4954,6 @@ describe("Interface Relationships", () => { AND: [PropsWhere!] NOT: PropsWhere OR: [PropsWhere!] - propsField: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") propsField_EQ: Int propsField_GT: Int propsField_GTE: Int @@ -5088,7 +5036,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1AggregateInput!] NOT: Type1Interface1AggregateInput OR: [Type1Interface1AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5170,7 +5117,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1Interface2AggregateInput!] NOT: Type1Interface1Interface2AggregateInput OR: [Type1Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5308,7 +5254,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1Where!] NOT: Type1Interface1Where OR: [Type1Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -5389,7 +5334,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface2Where!] NOT: Type1Interface2Where OR: [Type1Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -5420,7 +5364,6 @@ describe("Interface Relationships", () => { AND: [Type1Where!] NOT: Type1Where OR: [Type1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -5489,7 +5432,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface1Interface2AggregateInput!] NOT: Type2Interface1Interface2AggregateInput OR: [Type2Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5588,7 +5530,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface1Where!] NOT: Type2Interface1Where OR: [Type2Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -5669,7 +5610,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface2Where!] NOT: Type2Interface2Where OR: [Type2Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -5873,7 +5813,6 @@ describe("Interface Relationships", () => { AND: [Interface1Interface2AggregateInput!] NOT: Interface1Interface2AggregateInput OR: [Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6045,7 +5984,6 @@ describe("Interface Relationships", () => { AND: [Interface1Where!] NOT: Interface1Where OR: [Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -6137,7 +6075,6 @@ describe("Interface Relationships", () => { AND: [Interface2Where!] NOT: Interface2Where OR: [Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -6252,7 +6189,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1AggregateInput!] NOT: Type1Interface1AggregateInput OR: [Type1Interface1AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6334,7 +6270,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1Interface2AggregateInput!] NOT: Type1Interface1Interface2AggregateInput OR: [Type1Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6472,7 +6407,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface1Where!] NOT: Type1Interface1Where OR: [Type1Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -6553,7 +6487,6 @@ describe("Interface Relationships", () => { AND: [Type1Interface2Where!] NOT: Type1Interface2Where OR: [Type1Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -6620,7 +6553,6 @@ describe("Interface Relationships", () => { AND: [Type1PropsWhere!] NOT: Type1PropsWhere OR: [Type1PropsWhere!] - type1Field: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") type1Field_EQ: Int type1Field_GT: Int type1Field_GTE: Int @@ -6646,7 +6578,6 @@ describe("Interface Relationships", () => { AND: [Type1Where!] NOT: Type1Where OR: [Type1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -6715,7 +6646,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface1Interface2AggregateInput!] NOT: Type2Interface1Interface2AggregateInput OR: [Type2Interface1Interface2AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -6814,7 +6744,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface1Where!] NOT: Type2Interface1Where OR: [Type2Interface1Where!] - field1: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field1_CONTAINS: String field1_ENDS_WITH: String field1_EQ: String @@ -6895,7 +6824,6 @@ describe("Interface Relationships", () => { AND: [Type2Interface2Where!] NOT: Type2Interface2Where OR: [Type2Interface2Where!] - field2: String @deprecated(reason: \\"Please use the explicit _EQ version\\") field2_CONTAINS: String field2_ENDS_WITH: String field2_EQ: String @@ -6962,7 +6890,6 @@ describe("Interface Relationships", () => { AND: [Type2PropsWhere!] NOT: Type2PropsWhere OR: [Type2PropsWhere!] - type2Field: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") type2Field_EQ: Int type2Field_GT: Int type2Field_GTE: Int @@ -7088,7 +7015,6 @@ describe("Interface Relationships", () => { AND: [CommentCreatorAggregateInput!] NOT: CommentCreatorAggregateInput OR: [CommentCreatorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7174,7 +7100,6 @@ describe("Interface Relationships", () => { AND: [CommentPostAggregateInput!] NOT: CommentPostAggregateInput OR: [CommentPostAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7314,7 +7239,6 @@ describe("Interface Relationships", () => { AND: [CommentWhere!] NOT: CommentWhere OR: [CommentWhere!] - content: String @deprecated(reason: \\"Please use the explicit _EQ version\\") content_CONTAINS: String content_ENDS_WITH: String content_EQ: String @@ -7323,7 +7247,6 @@ describe("Interface Relationships", () => { creator: UserWhere creatorAggregate: CommentCreatorAggregateInput creatorConnection: ContentCreatorConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -7370,7 +7293,6 @@ describe("Interface Relationships", () => { AND: [ContentCreatorAggregateInput!] NOT: ContentCreatorAggregateInput OR: [ContentCreatorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7502,7 +7424,6 @@ describe("Interface Relationships", () => { AND: [ContentWhere!] NOT: ContentWhere OR: [ContentWhere!] - content: String @deprecated(reason: \\"Please use the explicit _EQ version\\") content_CONTAINS: String content_ENDS_WITH: String content_EQ: String @@ -7511,7 +7432,6 @@ describe("Interface Relationships", () => { creator: UserWhere creatorAggregate: ContentCreatorAggregateInput creatorConnection: ContentCreatorConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -7613,7 +7533,6 @@ describe("Interface Relationships", () => { AND: [PostCommentsAggregateInput!] NOT: PostCommentsAggregateInput OR: [PostCommentsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7732,7 +7651,6 @@ describe("Interface Relationships", () => { AND: [PostCreatorAggregateInput!] NOT: PostCreatorAggregateInput OR: [PostCreatorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -7870,7 +7788,6 @@ describe("Interface Relationships", () => { comments_SINGLE: CommentWhere \\"\\"\\"Return Posts where some of the related Comments match this filter\\"\\"\\" comments_SOME: CommentWhere - content: String @deprecated(reason: \\"Please use the explicit _EQ version\\") content_CONTAINS: String content_ENDS_WITH: String content_EQ: String @@ -7879,7 +7796,6 @@ describe("Interface Relationships", () => { creator: UserWhere creatorAggregate: PostCreatorAggregateInput creatorConnection: ContentCreatorConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -7972,7 +7888,6 @@ describe("Interface Relationships", () => { AND: [UserContentAggregateInput!] NOT: UserContentAggregateInput OR: [UserContentAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -8145,13 +8060,11 @@ describe("Interface Relationships", () => { content_SINGLE: ContentWhere \\"\\"\\"Return Users where some of the related Contents match this filter\\"\\"\\" content_SOME: ContentWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -8268,7 +8181,6 @@ describe("Interface Relationships", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -8288,7 +8200,6 @@ describe("Interface Relationships", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -8471,7 +8382,6 @@ describe("Interface Relationships", () => { actedIn_SINGLE: ShowWhere \\"\\"\\"Return Actors where some of the related Shows match this filter\\"\\"\\" actedIn_SOME: ShowWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -8549,7 +8459,6 @@ describe("Interface Relationships", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -8678,14 +8587,12 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -8750,7 +8657,6 @@ describe("Interface Relationships", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -8809,7 +8715,6 @@ describe("Interface Relationships", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -8944,14 +8849,12 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - episodeCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodeCount_EQ: Int episodeCount_GT: Int episodeCount_GTE: Int episodeCount_IN: [Int!] episodeCount_LT: Int episodeCount_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -8969,7 +8872,6 @@ describe("Interface Relationships", () => { AND: [ShowActorsAggregateInput!] NOT: ShowActorsAggregateInput OR: [ShowActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -9205,7 +9107,6 @@ describe("Interface Relationships", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Shows where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -9281,7 +9182,6 @@ describe("Interface Relationships", () => { AND: [StarredInWhere!] NOT: StarredInWhere OR: [StarredInWhere!] - episodeNr: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodeNr_EQ: Int episodeNr_GT: Int episodeNr_GTE: Int diff --git a/packages/graphql/tests/schema/interfaces.test.ts b/packages/graphql/tests/schema/interfaces.test.ts index 35a8f05c22..2b76c2c493 100644 --- a/packages/graphql/tests/schema/interfaces.test.ts +++ b/packages/graphql/tests/schema/interfaces.test.ts @@ -133,7 +133,6 @@ describe("Interfaces", () => { AND: [MovieMoviesAggregateInput!] NOT: MovieMoviesAggregateInput OR: [MovieMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -210,7 +209,6 @@ describe("Interfaces", () => { AND: [MovieNodeMoviesAggregateInput!] NOT: MovieNodeMoviesAggregateInput OR: [MovieNodeMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -278,7 +276,6 @@ describe("Interfaces", () => { AND: [MovieNodeWhere!] NOT: MovieNodeWhere OR: [MovieNodeWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -335,7 +332,6 @@ describe("Interfaces", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -535,7 +531,6 @@ describe("Interfaces", () => { AND: [MovieMoviesAggregateInput!] NOT: MovieMoviesAggregateInput OR: [MovieMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -612,7 +607,6 @@ describe("Interfaces", () => { AND: [MovieNodeMoviesAggregateInput!] NOT: MovieNodeMoviesAggregateInput OR: [MovieNodeMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -680,7 +674,6 @@ describe("Interfaces", () => { AND: [MovieNodeWhere!] NOT: MovieNodeWhere OR: [MovieNodeWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -737,7 +730,6 @@ describe("Interfaces", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/issues/1038.test.ts b/packages/graphql/tests/schema/issues/1038.test.ts index 6d36484e3e..0093289732 100644 --- a/packages/graphql/tests/schema/issues/1038.test.ts +++ b/packages/graphql/tests/schema/issues/1038.test.ts @@ -84,13 +84,11 @@ describe("https://github.com/neo4j/graphql/issues/1038", () => { AND: [AWSAccountWhere!] NOT: AWSAccountWhere OR: [AWSAccountWhere!] - accountName: String @deprecated(reason: \\"Please use the explicit _EQ version\\") accountName_CONTAINS: String accountName_ENDS_WITH: String accountName_EQ: String accountName_IN: [String] accountName_STARTS_WITH: String - code: String @deprecated(reason: \\"Please use the explicit _EQ version\\") code_CONTAINS: String code_ENDS_WITH: String code_EQ: String @@ -162,13 +160,11 @@ describe("https://github.com/neo4j/graphql/issues/1038", () => { AND: [DNSZoneWhere!] NOT: DNSZoneWhere OR: [DNSZoneWhere!] - awsId: String @deprecated(reason: \\"Please use the explicit _EQ version\\") awsId_CONTAINS: String awsId_ENDS_WITH: String awsId_EQ: String awsId_IN: [String] awsId_STARTS_WITH: String - zoneType: String @deprecated(reason: \\"Please use the explicit _EQ version\\") zoneType_CONTAINS: String zoneType_ENDS_WITH: String zoneType_EQ: String diff --git a/packages/graphql/tests/schema/issues/1182.test.ts b/packages/graphql/tests/schema/issues/1182.test.ts index 7189726562..12fc5c817c 100644 --- a/packages/graphql/tests/schema/issues/1182.test.ts +++ b/packages/graphql/tests/schema/issues/1182.test.ts @@ -99,14 +99,12 @@ describe("https://github.com/neo4j/graphql/issues/1182", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - dob: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") dob_EQ: DateTime dob_GT: DateTime dob_GTE: DateTime dob_IN: [DateTime!] dob_LT: DateTime dob_LTE: DateTime - homeAddress: PointInput @deprecated(reason: \\"Please use the explicit _EQ version\\") homeAddress_DISTANCE: PointDistance homeAddress_EQ: PointInput homeAddress_GT: PointDistance @@ -114,13 +112,11 @@ describe("https://github.com/neo4j/graphql/issues/1182", () => { homeAddress_IN: [PointInput!] homeAddress_LT: PointDistance homeAddress_LTE: PointDistance - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -196,7 +192,6 @@ describe("https://github.com/neo4j/graphql/issues/1182", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -365,13 +360,11 @@ describe("https://github.com/neo4j/graphql/issues/1182", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/issues/1614.test.ts b/packages/graphql/tests/schema/issues/1614.test.ts index 9c3b912307..96e6ca1400 100644 --- a/packages/graphql/tests/schema/issues/1614.test.ts +++ b/packages/graphql/tests/schema/issues/1614.test.ts @@ -107,7 +107,6 @@ describe("https://github.com/neo4j/graphql/issues/1614", () => { AND: [CrewMemberMoviesAggregateInput!] NOT: CrewMemberMoviesAggregateInput OR: [CrewMemberMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -249,7 +248,6 @@ describe("https://github.com/neo4j/graphql/issues/1614", () => { AND: [CrewPositionWhere!] NOT: CrewPositionWhere OR: [CrewPositionWhere!] - position: CrewPositionType @deprecated(reason: \\"Please use the explicit _EQ version\\") position_EQ: CrewPositionType position_IN: [CrewPositionType] } @@ -300,7 +298,6 @@ describe("https://github.com/neo4j/graphql/issues/1614", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/issues/162.test.ts b/packages/graphql/tests/schema/issues/162.test.ts index 76fe6f33e5..4c6d76e7b4 100644 --- a/packages/graphql/tests/schema/issues/162.test.ts +++ b/packages/graphql/tests/schema/issues/162.test.ts @@ -190,7 +190,6 @@ describe("162", () => { AND: [TigerJawLevel2Part1AggregateInput!] NOT: TigerJawLevel2Part1AggregateInput OR: [TigerJawLevel2Part1AggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -303,7 +302,6 @@ describe("162", () => { AND: [TigerJawLevel2Part1TigerAggregateInput!] NOT: TigerJawLevel2Part1TigerAggregateInput OR: [TigerJawLevel2Part1TigerAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -426,7 +424,6 @@ describe("162", () => { AND: [TigerJawLevel2Part1Where!] NOT: TigerJawLevel2Part1Where OR: [TigerJawLevel2Part1Where!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -469,7 +466,6 @@ describe("162", () => { AND: [TigerJawLevel2Where!] NOT: TigerJawLevel2Where OR: [TigerJawLevel2Where!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -504,7 +500,6 @@ describe("162", () => { AND: [TigerWhere!] NOT: TigerWhere OR: [TigerWhere!] - x: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") x_EQ: Int x_GT: Int x_GTE: Int diff --git a/packages/graphql/tests/schema/issues/200.test.ts b/packages/graphql/tests/schema/issues/200.test.ts index cc27895b02..a7510a904f 100644 --- a/packages/graphql/tests/schema/issues/200.test.ts +++ b/packages/graphql/tests/schema/issues/200.test.ts @@ -96,22 +96,18 @@ describe("200", () => { AND: [CategoryWhere!] NOT: CategoryWhere OR: [CategoryWhere!] - categoryId: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") categoryId_CONTAINS: ID categoryId_ENDS_WITH: ID categoryId_EQ: ID categoryId_IN: [ID!] categoryId_STARTS_WITH: ID - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String!] description_STARTS_WITH: String - exampleImageLocations: [String!] @deprecated(reason: \\"Please use the explicit _EQ version\\") exampleImageLocations_EQ: [String!] exampleImageLocations_INCLUDES: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/issues/2187.test.ts b/packages/graphql/tests/schema/issues/2187.test.ts index 951286f00f..5efec72583 100644 --- a/packages/graphql/tests/schema/issues/2187.test.ts +++ b/packages/graphql/tests/schema/issues/2187.test.ts @@ -134,7 +134,6 @@ describe("https://github.com/neo4j/graphql/issues/2187", () => { AND: [GenreMoviesAggregateInput!] NOT: GenreMoviesAggregateInput OR: [GenreMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -305,7 +304,6 @@ describe("https://github.com/neo4j/graphql/issues/2187", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Genres where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -383,7 +381,6 @@ describe("https://github.com/neo4j/graphql/issues/2187", () => { AND: [MovieGenresAggregateInput!] NOT: MovieGenresAggregateInput OR: [MovieGenresAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -526,20 +523,17 @@ describe("https://github.com/neo4j/graphql/issues/2187", () => { genres_SINGLE: GenreWhere @deprecated(reason: \\"Do not use genre\\") \\"\\"\\"Return Movies where some of the related Genres match this filter\\"\\"\\" genres_SOME: GenreWhere @deprecated(reason: \\"Do not use genre\\") - imdbRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") imdbRating_EQ: Float imdbRating_GT: Float imdbRating_GTE: Float imdbRating_IN: [Float] imdbRating_LT: Float imdbRating_LTE: Float - title: String @deprecated(reason: \\"Do not use title\\") title_CONTAINS: String @deprecated(reason: \\"Do not use title\\") title_ENDS_WITH: String @deprecated(reason: \\"Do not use title\\") title_EQ: String @deprecated(reason: \\"Do not use title\\") title_IN: [String] @deprecated(reason: \\"Do not use title\\") title_STARTS_WITH: String @deprecated(reason: \\"Do not use title\\") - year: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") year_EQ: Int year_GT: Int year_GTE: Int diff --git a/packages/graphql/tests/schema/issues/2377.test.ts b/packages/graphql/tests/schema/issues/2377.test.ts index e9262493ba..eb59f12b9c 100644 --- a/packages/graphql/tests/schema/issues/2377.test.ts +++ b/packages/graphql/tests/schema/issues/2377.test.ts @@ -185,7 +185,6 @@ describe("https://github.com/neo4j/graphql/issues/2377", () => { AND: [ResourceContainedByAggregateInput!] NOT: ResourceContainedByAggregateInput OR: [ResourceContainedByAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -372,25 +371,20 @@ describe("https://github.com/neo4j/graphql/issues/2377", () => { AND: [ResourceEntityWhere!] NOT: ResourceEntityWhere OR: [ResourceEntityWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - properties: [Property!] @deprecated(reason: \\"Please use the explicit _EQ version\\") properties_EQ: [Property!] properties_INCLUDES: Property - tags: [Tag!] @deprecated(reason: \\"Please use the explicit _EQ version\\") tags_EQ: [Tag!] tags_INCLUDES: Tag - type: ResourceType @deprecated(reason: \\"Please use the explicit _EQ version\\") type_EQ: ResourceType type_IN: [ResourceType!] typename_IN: [ResourceEntityImplementation!] @@ -474,38 +468,30 @@ describe("https://github.com/neo4j/graphql/issues/2377", () => { containedBy_SINGLE: ResourceWhere \\"\\"\\"Return Resources where some of the related Resources match this filter\\"\\"\\" containedBy_SOME: ResourceWhere - createdAt: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") createdAt_EQ: DateTime createdAt_GT: DateTime createdAt_GTE: DateTime createdAt_IN: [DateTime!] createdAt_LT: DateTime createdAt_LTE: DateTime - externalIds: [ID!] @deprecated(reason: \\"Please use the explicit _EQ version\\") externalIds_EQ: [ID!] externalIds_INCLUDES: ID - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - properties: [Property!] @deprecated(reason: \\"Please use the explicit _EQ version\\") properties_EQ: [Property!] properties_INCLUDES: Property - tags: [Tag!] @deprecated(reason: \\"Please use the explicit _EQ version\\") tags_EQ: [Tag!] tags_INCLUDES: Tag - type: ResourceType @deprecated(reason: \\"Please use the explicit _EQ version\\") type_EQ: ResourceType type_IN: [ResourceType!] - updatedAt: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") updatedAt_EQ: DateTime updatedAt_GT: DateTime updatedAt_GTE: DateTime diff --git a/packages/graphql/tests/schema/issues/2969.test.ts b/packages/graphql/tests/schema/issues/2969.test.ts index d24081b26b..ca3806c807 100644 --- a/packages/graphql/tests/schema/issues/2969.test.ts +++ b/packages/graphql/tests/schema/issues/2969.test.ts @@ -109,7 +109,6 @@ describe("https://github.com/neo4j/graphql/issues/2969", () => { AND: [PostAuthorAggregateInput!] NOT: PostAuthorAggregateInput OR: [PostAuthorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -264,7 +263,6 @@ describe("https://github.com/neo4j/graphql/issues/2969", () => { author: UserWhere authorAggregate: PostAuthorAggregateInput authorConnection: PostAuthorConnectionWhere - content: String @deprecated(reason: \\"Please use the explicit _EQ version\\") content_CONTAINS: String content_ENDS_WITH: String content_EQ: String @@ -374,7 +372,6 @@ describe("https://github.com/neo4j/graphql/issues/2969", () => { AND: [UserPostsAggregateInput!] NOT: UserPostsAggregateInput OR: [UserPostsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -483,13 +480,11 @@ describe("https://github.com/neo4j/graphql/issues/2969", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/issues/2981.test.ts b/packages/graphql/tests/schema/issues/2981.test.ts index dcf5f9cb4b..83fc4d3d38 100644 --- a/packages/graphql/tests/schema/issues/2981.test.ts +++ b/packages/graphql/tests/schema/issues/2981.test.ts @@ -135,7 +135,6 @@ describe("https://github.com/neo4j/graphql/issues/2981", () => { AND: [BookTitle_ENBookAggregateInput!] NOT: BookTitle_ENBookAggregateInput OR: [BookTitle_ENBookAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -295,7 +294,6 @@ describe("https://github.com/neo4j/graphql/issues/2981", () => { book: BookWhere bookAggregate: BookTitle_ENBookAggregateInput bookConnection: BookTitle_ENBookConnectionWhere - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String @@ -319,7 +317,6 @@ describe("https://github.com/neo4j/graphql/issues/2981", () => { AND: [BookTitle_SVBookAggregateInput!] NOT: BookTitle_SVBookAggregateInput OR: [BookTitle_SVBookAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -479,7 +476,6 @@ describe("https://github.com/neo4j/graphql/issues/2981", () => { book: BookWhere bookAggregate: BookTitle_SVBookAggregateInput bookConnection: BookTitle_SVBookConnectionWhere - value: String @deprecated(reason: \\"Please use the explicit _EQ version\\") value_CONTAINS: String value_ENDS_WITH: String value_EQ: String @@ -628,13 +624,11 @@ describe("https://github.com/neo4j/graphql/issues/2981", () => { AND: [BookWhere!] NOT: BookWhere OR: [BookWhere!] - isbn: String @deprecated(reason: \\"Please use the explicit _EQ version\\") isbn_CONTAINS: String isbn_ENDS_WITH: String isbn_EQ: String isbn_IN: [String!] isbn_STARTS_WITH: String - originalTitle: String @deprecated(reason: \\"Please use the explicit _EQ version\\") originalTitle_CONTAINS: String originalTitle_ENDS_WITH: String originalTitle_EQ: String diff --git a/packages/graphql/tests/schema/issues/2993.test.ts b/packages/graphql/tests/schema/issues/2993.test.ts index 9605f55a15..6041528aa0 100644 --- a/packages/graphql/tests/schema/issues/2993.test.ts +++ b/packages/graphql/tests/schema/issues/2993.test.ts @@ -116,7 +116,6 @@ describe("https://github.com/neo4j/graphql/issues/2993", () => { AND: [FOLLOWSWhere!] NOT: FOLLOWSWhere OR: [FOLLOWSWhere!] - since: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") since_EQ: DateTime since_GT: DateTime since_GTE: DateTime @@ -191,14 +190,12 @@ describe("https://github.com/neo4j/graphql/issues/2993", () => { AND: [ProfileWhere!] NOT: ProfileWhere OR: [ProfileWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID typename_IN: [ProfileImplementation!] - userName: String @deprecated(reason: \\"Please use the explicit _EQ version\\") userName_CONTAINS: String userName_ENDS_WITH: String userName_EQ: String @@ -281,7 +278,6 @@ describe("https://github.com/neo4j/graphql/issues/2993", () => { AND: [UserFollowingAggregateInput!] NOT: UserFollowingAggregateInput OR: [UserFollowingAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -440,13 +436,11 @@ describe("https://github.com/neo4j/graphql/issues/2993", () => { following_SINGLE: ProfileWhere \\"\\"\\"Return Users where some of the related Profiles match this filter\\"\\"\\" following_SOME: ProfileWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - userName: String @deprecated(reason: \\"Please use the explicit _EQ version\\") userName_CONTAINS: String userName_ENDS_WITH: String userName_EQ: String diff --git a/packages/graphql/tests/schema/issues/3428.test.ts b/packages/graphql/tests/schema/issues/3428.test.ts index 6028f70817..92f48e6e31 100644 --- a/packages/graphql/tests/schema/issues/3428.test.ts +++ b/packages/graphql/tests/schema/issues/3428.test.ts @@ -86,7 +86,6 @@ describe("Relationship nested operations", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -213,7 +212,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -287,13 +285,11 @@ describe("Relationship nested operations", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -497,7 +493,6 @@ describe("Relationship nested operations", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -567,7 +562,6 @@ describe("Relationship nested operations", () => { AND: [PersonOneWhere!] NOT: PersonOneWhere OR: [PersonOneWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -615,7 +609,6 @@ describe("Relationship nested operations", () => { AND: [PersonTwoWhere!] NOT: PersonTwoWhere OR: [PersonTwoWhere!] - nameTwo: String @deprecated(reason: \\"Please use the explicit _EQ version\\") nameTwo_CONTAINS: String nameTwo_ENDS_WITH: String nameTwo_EQ: String diff --git a/packages/graphql/tests/schema/issues/3439.test.ts b/packages/graphql/tests/schema/issues/3439.test.ts index 073df9b6c2..6b0540ec53 100644 --- a/packages/graphql/tests/schema/issues/3439.test.ts +++ b/packages/graphql/tests/schema/issues/3439.test.ts @@ -180,7 +180,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreProductAggregateInput!] NOT: GenreProductAggregateInput OR: [GenreProductAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -292,7 +291,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreSubscriptionWhere!] NOT: GenreSubscriptionWhere OR: [GenreSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -317,7 +315,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -386,7 +383,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [INodeWhere!] NOT: INodeWhere OR: [INodeWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String @@ -451,13 +447,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [IProductWhere!] NOT: IProductWhere OR: [IProductWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -522,7 +516,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MovieGenreAggregateInput!] NOT: MovieGenreAggregateInput OR: [MovieGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -632,13 +625,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -668,13 +659,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { genre: GenreWhere genreAggregate: MovieGenreAggregateInput genreConnection: MovieGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -782,7 +771,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesGenreAggregateInput!] NOT: SeriesGenreAggregateInput OR: [SeriesGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -892,13 +880,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesSubscriptionWhere!] NOT: SeriesSubscriptionWhere OR: [SeriesSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -928,13 +914,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { genre: GenreWhere genreAggregate: SeriesGenreAggregateInput genreConnection: SeriesGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1145,7 +1129,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreProductAggregateInput!] NOT: GenreProductAggregateInput OR: [GenreProductAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1257,7 +1240,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreSubscriptionWhere!] NOT: GenreSubscriptionWhere OR: [GenreSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1282,7 +1264,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1371,13 +1352,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [IProductWhere!] NOT: IProductWhere OR: [IProductWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1442,7 +1421,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MovieGenreAggregateInput!] NOT: MovieGenreAggregateInput OR: [MovieGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1552,13 +1530,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1588,13 +1564,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { genre: GenreWhere genreAggregate: MovieGenreAggregateInput genreConnection: MovieGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1699,7 +1673,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesGenreAggregateInput!] NOT: SeriesGenreAggregateInput OR: [SeriesGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1809,13 +1782,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesSubscriptionWhere!] NOT: SeriesSubscriptionWhere OR: [SeriesSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1845,13 +1816,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { genre: GenreWhere genreAggregate: SeriesGenreAggregateInput genreConnection: SeriesGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2070,7 +2039,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreProductAggregateInput!] NOT: GenreProductAggregateInput OR: [GenreProductAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2185,7 +2153,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreSubscriptionWhere!] NOT: GenreSubscriptionWhere OR: [GenreSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2210,7 +2177,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2292,7 +2258,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [IProductGenreAggregateInput!] NOT: IProductGenreAggregateInput OR: [IProductGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2478,13 +2443,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { genre: GenreWhere genreAggregate: IProductGenreAggregateInput genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2556,7 +2519,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MovieGenreAggregateInput!] NOT: MovieGenreAggregateInput OR: [MovieGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2684,7 +2646,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MoviePropsWhere!] NOT: MoviePropsWhere OR: [MoviePropsWhere!] - year: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") year_EQ: Int year_GT: Int year_GTE: Int @@ -2705,13 +2666,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2741,13 +2700,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { genre: GenreWhere genreAggregate: MovieGenreAggregateInput genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2852,7 +2809,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesGenreAggregateInput!] NOT: SeriesGenreAggregateInput OR: [SeriesGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2980,7 +2936,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesPropsWhere!] NOT: SeriesPropsWhere OR: [SeriesPropsWhere!] - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int @@ -3001,13 +2956,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesSubscriptionWhere!] NOT: SeriesSubscriptionWhere OR: [SeriesSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3037,13 +2990,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { genre: GenreWhere genreAggregate: SeriesGenreAggregateInput genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3274,7 +3225,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreProductAggregateInput!] NOT: GenreProductAggregateInput OR: [GenreProductAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3389,7 +3339,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreSubscriptionWhere!] NOT: GenreSubscriptionWhere OR: [GenreSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3414,7 +3363,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3700,13 +3648,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { OR: [IProductWhere!] genre: UGenreWhere genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3875,7 +3821,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MoviePropsWhere!] NOT: MoviePropsWhere OR: [MoviePropsWhere!] - year: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") year_EQ: Int year_GT: Int year_GTE: Int @@ -3896,13 +3841,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3931,13 +3874,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { OR: [MovieWhere!] genre: UGenreWhere genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -4061,7 +4002,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [RatingProductAggregateInput!] NOT: RatingProductAggregateInput OR: [RatingProductAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4176,7 +4116,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [RatingSubscriptionWhere!] NOT: RatingSubscriptionWhere OR: [RatingSubscriptionWhere!] - number: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") number_EQ: Int number_GT: Int number_GTE: Int @@ -4204,7 +4143,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [RatingWhere!] NOT: RatingWhere OR: [RatingWhere!] - number: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") number_EQ: Int number_GT: Int number_GTE: Int @@ -4397,7 +4335,6 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesPropsWhere!] NOT: SeriesPropsWhere OR: [SeriesPropsWhere!] - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int @@ -4418,13 +4355,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { AND: [SeriesSubscriptionWhere!] NOT: SeriesSubscriptionWhere OR: [SeriesSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -4453,13 +4388,11 @@ describe("https://github.com/neo4j/graphql/issues/3439", () => { OR: [SeriesWhere!] genre: UGenreWhere genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/issues/3537.test.ts b/packages/graphql/tests/schema/issues/3537.test.ts index 5a6cdb0da0..dc50ecb188 100644 --- a/packages/graphql/tests/schema/issues/3537.test.ts +++ b/packages/graphql/tests/schema/issues/3537.test.ts @@ -103,13 +103,11 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -178,7 +176,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -340,13 +337,11 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -385,7 +380,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -537,13 +531,11 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -569,13 +561,11 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - password: String @deprecated(reason: \\"Please use the explicit _EQ version\\") password_CONTAINS: String password_ENDS_WITH: String password_EQ: String password_IN: [String!] password_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -656,7 +646,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -680,7 +669,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/issues/3541.test.ts b/packages/graphql/tests/schema/issues/3541.test.ts index 5974736f81..63d9016c69 100644 --- a/packages/graphql/tests/schema/issues/3541.test.ts +++ b/packages/graphql/tests/schema/issues/3541.test.ts @@ -90,7 +90,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -124,7 +123,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -222,7 +220,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -375,7 +372,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -436,7 +432,6 @@ describe("Extending the schema in when using getSubgraphSchema", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -569,13 +564,11 @@ describe("Extending the schema in when using getSubgraphSchema", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/issues/3698.test.ts b/packages/graphql/tests/schema/issues/3698.test.ts index 9cd4b6a18d..63a2777648 100644 --- a/packages/graphql/tests/schema/issues/3698.test.ts +++ b/packages/graphql/tests/schema/issues/3698.test.ts @@ -174,7 +174,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreProductAggregateInput!] NOT: GenreProductAggregateInput OR: [GenreProductAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -301,7 +300,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreSubscriptionWhere!] NOT: GenreSubscriptionWhere OR: [GenreSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -326,7 +324,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -418,19 +415,16 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [IProductWhere!] NOT: IProductWhere OR: [IProductWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - info: String @deprecated(reason: \\"Please use the explicit _EQ version\\") info_CONTAINS: String info_ENDS_WITH: String info_EQ: String info_IN: [String!] info_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -496,7 +490,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [MovieGenreAggregateInput!] NOT: MovieGenreAggregateInput OR: [MovieGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -606,13 +599,11 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -642,13 +633,11 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { genre: GenreWhere genreAggregate: MovieGenreAggregateInput genreConnection: MovieGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -884,7 +873,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreProductAggregateInput!] NOT: GenreProductAggregateInput OR: [GenreProductAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1014,7 +1002,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreSubscriptionWhere!] NOT: GenreSubscriptionWhere OR: [GenreSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1039,7 +1026,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1122,7 +1108,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [IProductGenreAggregateInput!] NOT: IProductGenreAggregateInput OR: [IProductGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1236,19 +1221,16 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { genre: GenreWhere genreAggregate: IProductGenreAggregateInput genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - info: String @deprecated(reason: \\"Please use the explicit _EQ version\\") info_CONTAINS: String info_ENDS_WITH: String info_EQ: String info_IN: [String!] info_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1314,7 +1296,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [MovieGenreAggregateInput!] NOT: MovieGenreAggregateInput OR: [MovieGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1392,13 +1373,11 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1428,13 +1407,11 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { genre: GenreWhere genreAggregate: MovieGenreAggregateInput genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1683,7 +1660,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreProductAggregateInput!] NOT: GenreProductAggregateInput OR: [GenreProductAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1813,7 +1789,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreSubscriptionWhere!] NOT: GenreSubscriptionWhere OR: [GenreSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1838,7 +1813,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1922,7 +1896,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [IProductGenreAggregateInput!] NOT: IProductGenreAggregateInput OR: [IProductGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2037,19 +2010,16 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { genre: GenreWhere genreAggregate: IProductGenreAggregateInput genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - info: String @deprecated(reason: \\"Please use the explicit _EQ version\\") info_CONTAINS: String info_ENDS_WITH: String info_EQ: String info_IN: [String!] info_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2115,7 +2085,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [MovieGenreAggregateInput!] NOT: MovieGenreAggregateInput OR: [MovieGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2193,13 +2162,11 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2229,13 +2196,11 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { genre: GenreWhere genreAggregate: MovieGenreAggregateInput genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2344,7 +2309,6 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [SeriesGenreAggregateInput!] NOT: SeriesGenreAggregateInput OR: [SeriesGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2423,19 +2387,16 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { AND: [SeriesSubscriptionWhere!] NOT: SeriesSubscriptionWhere OR: [SeriesSubscriptionWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - info: String @deprecated(reason: \\"Please use the explicit _EQ version\\") info_CONTAINS: String info_ENDS_WITH: String info_EQ: String info_IN: [String!] info_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2467,19 +2428,16 @@ describe("https://github.com/neo4j/graphql/issues/3698", () => { genre: GenreWhere genreAggregate: SeriesGenreAggregateInput genreConnection: IProductGenreConnectionWhere - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String id_IN: [String!] id_STARTS_WITH: String - info: String @deprecated(reason: \\"Please use the explicit _EQ version\\") info_CONTAINS: String info_ENDS_WITH: String info_EQ: String info_IN: [String!] info_STARTS_WITH: String - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/issues/3816.test.ts b/packages/graphql/tests/schema/issues/3816.test.ts index 31e1266e85..231ff61c8d 100644 --- a/packages/graphql/tests/schema/issues/3816.test.ts +++ b/packages/graphql/tests/schema/issues/3816.test.ts @@ -122,7 +122,6 @@ describe("https://github.com/neo4j/graphql/issues/3816", () => { AND: [GenreMoviesAggregateInput!] NOT: GenreMoviesAggregateInput OR: [GenreMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -252,7 +251,6 @@ describe("https://github.com/neo4j/graphql/issues/3816", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Genres where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -304,7 +302,6 @@ describe("https://github.com/neo4j/graphql/issues/3816", () => { AND: [MovieGenreAggregateInput!] NOT: MovieGenreAggregateInput OR: [MovieGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -405,7 +402,6 @@ describe("https://github.com/neo4j/graphql/issues/3816", () => { genre: GenreWhere genreAggregate: MovieGenreAggregateInput genreConnection: MovieGenreConnectionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -567,7 +563,6 @@ describe("https://github.com/neo4j/graphql/issues/3816", () => { AND: [GenreMoviesAggregateInput!] NOT: GenreMoviesAggregateInput OR: [GenreMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -695,7 +690,6 @@ describe("https://github.com/neo4j/graphql/issues/3816", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Genres where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -738,7 +732,6 @@ describe("https://github.com/neo4j/graphql/issues/3816", () => { AND: [MovieGenreAggregateInput!] NOT: MovieGenreAggregateInput OR: [MovieGenreAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -818,7 +811,6 @@ describe("https://github.com/neo4j/graphql/issues/3816", () => { genre: GenreWhere genreAggregate: MovieGenreAggregateInput genreConnection: MovieGenreConnectionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/issues/3817.test.ts b/packages/graphql/tests/schema/issues/3817.test.ts index f219d100b8..8dc1924786 100644 --- a/packages/graphql/tests/schema/issues/3817.test.ts +++ b/packages/graphql/tests/schema/issues/3817.test.ts @@ -124,7 +124,6 @@ describe("ttps://github.com/neo4j/graphql/issues/3817", () => { AND: [FriendOfWhere!] NOT: FriendOfWhere OR: [FriendOfWhere!] - id: String @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: String id_ENDS_WITH: String id_EQ: String @@ -198,7 +197,6 @@ describe("ttps://github.com/neo4j/graphql/issues/3817", () => { AND: [PersonFriendsAggregateInput!] NOT: PersonFriendsAggregateInput OR: [PersonFriendsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -341,7 +339,6 @@ describe("ttps://github.com/neo4j/graphql/issues/3817", () => { friends_SINGLE: PersonWhere \\"\\"\\"Return People where some of the related People match this filter\\"\\"\\" friends_SOME: PersonWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/issues/4511.test.ts b/packages/graphql/tests/schema/issues/4511.test.ts index 6dec86b1c8..97c8d67d11 100644 --- a/packages/graphql/tests/schema/issues/4511.test.ts +++ b/packages/graphql/tests/schema/issues/4511.test.ts @@ -129,7 +129,6 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { AND: [CreatureMoviesAggregateInput!] NOT: CreatureMoviesAggregateInput OR: [CreatureMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -288,7 +287,6 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { AND: [MovieDirectorAggregateInput!] NOT: MovieDirectorAggregateInput OR: [MovieDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -361,13 +359,11 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { director: CreatureWhere directorAggregate: MovieDirectorAggregateInput directorConnection: ProductionDirectorConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -444,7 +440,6 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { AND: [PersonMoviesAggregateInput!] NOT: PersonMoviesAggregateInput OR: [PersonMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -565,7 +560,6 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { AND: [ProductionDirectorAggregateInput!] NOT: ProductionDirectorAggregateInput OR: [ProductionDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -657,7 +651,6 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { director: CreatureWhere directorAggregate: ProductionDirectorAggregateInput directorConnection: ProductionDirectorConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -743,7 +736,6 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { AND: [SeriesDirectorAggregateInput!] NOT: SeriesDirectorAggregateInput OR: [SeriesDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -812,20 +804,17 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { AND: [SeriesSubscriptionWhere!] NOT: SeriesSubscriptionWhere OR: [SeriesSubscriptionWhere!] - episode: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episode_EQ: Int episode_GT: Int episode_GTE: Int episode_IN: [Int!] episode_LT: Int episode_LTE: Int - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -859,20 +848,17 @@ describe("https://github.com/neo4j/graphql/issues/4511", () => { director: CreatureWhere directorAggregate: SeriesDirectorAggregateInput directorConnection: ProductionDirectorConnectionWhere - episode: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episode_EQ: Int episode_GT: Int episode_GTE: Int episode_IN: [Int!] episode_LT: Int episode_LTE: Int - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/issues/4615.test.ts b/packages/graphql/tests/schema/issues/4615.test.ts index a3bd61b259..5e6e997397 100644 --- a/packages/graphql/tests/schema/issues/4615.test.ts +++ b/packages/graphql/tests/schema/issues/4615.test.ts @@ -118,7 +118,6 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -138,7 +137,6 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -321,7 +319,6 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { actedIn_SINGLE: ShowWhere \\"\\"\\"Return Actors where some of the related Shows match this filter\\"\\"\\" actedIn_SOME: ShowWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -408,7 +405,6 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -542,21 +538,18 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - release: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") release_EQ: DateTime release_GT: DateTime release_GTE: DateTime release_IN: [DateTime!] release_LT: DateTime release_LTE: DateTime - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -631,7 +624,6 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { AND: [SeriesActorsAggregateInput!] NOT: SeriesActorsAggregateInput OR: [SeriesActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -766,14 +758,12 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Series where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int episodes_IN: [Int] episodes_LT: Int episodes_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -791,7 +781,6 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { AND: [ShowActorsAggregateInput!] NOT: ShowActorsAggregateInput OR: [ShowActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1007,7 +996,6 @@ describe("https://github.com/neo4j/graphql/issues/4615", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Shows where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/issues/5428.test.ts b/packages/graphql/tests/schema/issues/5428.test.ts index 742ba2fdcb..caf1da6b9e 100644 --- a/packages/graphql/tests/schema/issues/5428.test.ts +++ b/packages/graphql/tests/schema/issues/5428.test.ts @@ -133,7 +133,6 @@ describe("https://github.com/neo4j/graphql/issues/5428", () => { input TestWhere { AND: [TestWhere!] NOT: TestWhere - Name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") Name_CONTAINS: String Name_ENDS_WITH: String Name_EQ: String diff --git a/packages/graphql/tests/schema/issues/5631.test.ts b/packages/graphql/tests/schema/issues/5631.test.ts index a29f3275ea..7adcec8c63 100644 --- a/packages/graphql/tests/schema/issues/5631.test.ts +++ b/packages/graphql/tests/schema/issues/5631.test.ts @@ -98,7 +98,6 @@ describe("https://github.com/neo4j/graphql/issues/5631", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - custom_string_with_zero_param: String @deprecated(reason: \\"Please use the explicit _EQ version\\") custom_string_with_zero_param_CONTAINS: String custom_string_with_zero_param_ENDS_WITH: String custom_string_with_zero_param_EQ: String diff --git a/packages/graphql/tests/schema/issues/609.test.ts b/packages/graphql/tests/schema/issues/609.test.ts index 23054f43df..a9b130568f 100644 --- a/packages/graphql/tests/schema/issues/609.test.ts +++ b/packages/graphql/tests/schema/issues/609.test.ts @@ -93,7 +93,6 @@ describe("609", () => { AND: [DeprecatedWhere!] NOT: DeprecatedWhere OR: [DeprecatedWhere!] - deprecatedField: String @deprecated deprecatedField_CONTAINS: String @deprecated deprecatedField_ENDS_WITH: String @deprecated deprecatedField_EQ: String @deprecated diff --git a/packages/graphql/tests/schema/issues/872.test.ts b/packages/graphql/tests/schema/issues/872.test.ts index d41ab5c7c9..b47ae86f7e 100644 --- a/packages/graphql/tests/schema/issues/872.test.ts +++ b/packages/graphql/tests/schema/issues/872.test.ts @@ -96,7 +96,6 @@ describe("https://github.com/neo4j/graphql/issues/872", () => { AND: [Actor2MoviesAggregateInput!] NOT: Actor2MoviesAggregateInput OR: [Actor2MoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -234,7 +233,6 @@ describe("https://github.com/neo4j/graphql/issues/872", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actor2s where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -281,7 +279,6 @@ describe("https://github.com/neo4j/graphql/issues/872", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -419,7 +416,6 @@ describe("https://github.com/neo4j/graphql/issues/872", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -510,13 +506,11 @@ describe("https://github.com/neo4j/graphql/issues/872", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/lowercase-type-names.test.ts b/packages/graphql/tests/schema/lowercase-type-names.test.ts index 82cbfafd91..0389d4c9f8 100644 --- a/packages/graphql/tests/schema/lowercase-type-names.test.ts +++ b/packages/graphql/tests/schema/lowercase-type-names.test.ts @@ -210,7 +210,6 @@ describe("lower case type names", () => { AND: [actorMoviesAggregateInput!] NOT: actorMoviesAggregateInput OR: [actorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -369,7 +368,6 @@ describe("lower case type names", () => { AND: [actorWhere!] NOT: actorWhere OR: [actorWhere!] - createdAt: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") createdAt_EQ: DateTime createdAt_GT: DateTime createdAt_GTE: DateTime @@ -401,13 +399,11 @@ describe("lower case type names", () => { movies_SINGLE: movieWhere \\"\\"\\"Return actors where some of the related movies match this filter\\"\\"\\" movies_SOME: movieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - year: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") year_EQ: Int year_GT: Int year_GTE: Int @@ -442,7 +438,6 @@ describe("lower case type names", () => { AND: [movieActorsAggregateInput!] NOT: movieActorsAggregateInput OR: [movieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -651,26 +646,22 @@ describe("lower case type names", () => { actors_SINGLE: actorWhere \\"\\"\\"Return movies where some of the related actors match this filter\\"\\"\\" actors_SOME: actorWhere - createdAt: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") createdAt_EQ: DateTime createdAt_GT: DateTime createdAt_GTE: DateTime createdAt_IN: [DateTime] createdAt_LT: DateTime createdAt_LTE: DateTime - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - testId: String @deprecated(reason: \\"Please use the explicit _EQ version\\") testId_CONTAINS: String testId_ENDS_WITH: String testId_EQ: String testId_IN: [String] testId_STARTS_WITH: String - year: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") year_EQ: Int year_GT: Int year_GTE: Int diff --git a/packages/graphql/tests/schema/math.test.ts b/packages/graphql/tests/schema/math.test.ts index c7e8001edd..113d49848e 100644 --- a/packages/graphql/tests/schema/math.test.ts +++ b/packages/graphql/tests/schema/math.test.ts @@ -113,13 +113,11 @@ describe("Algebraic", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - viewers: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") viewers_EQ: Int viewers_GT: Int viewers_GTE: Int @@ -274,13 +272,11 @@ describe("Algebraic", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - viewers: BigInt @deprecated(reason: \\"Please use the explicit _EQ version\\") viewers_EQ: BigInt viewers_GT: BigInt viewers_GTE: BigInt @@ -433,13 +429,11 @@ describe("Algebraic", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - viewers: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") viewers_EQ: Float viewers_GT: Float viewers_GTE: Float @@ -579,7 +573,6 @@ describe("Algebraic", () => { AND: [DirectorDirectsAggregateInput!] NOT: DirectorDirectsAggregateInput OR: [DirectorDirectsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -744,7 +737,6 @@ describe("Algebraic", () => { directs_SINGLE: MovieWhere \\"\\"\\"Return Directors where some of the related Movies match this filter\\"\\"\\" directs_SOME: MovieWhere - lastName: String @deprecated(reason: \\"Please use the explicit _EQ version\\") lastName_CONTAINS: String lastName_ENDS_WITH: String lastName_EQ: String @@ -806,7 +798,6 @@ describe("Algebraic", () => { AND: [MovieDirectedByAggregateInput!] NOT: MovieDirectedByAggregateInput OR: [MovieDirectedByAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -938,13 +929,11 @@ describe("Algebraic", () => { directedBy: DirectorWhere directedByAggregate: MovieDirectedByAggregateInput directedByConnection: MovieDirectedByConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - viewers: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") viewers_EQ: Int viewers_GT: Int viewers_GTE: Int @@ -1143,13 +1132,11 @@ describe("Algebraic", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - viewers: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") viewers_EQ: Int viewers_GT: Int viewers_GTE: Int @@ -1187,7 +1174,6 @@ describe("Algebraic", () => { AND: [MovieWorkersAggregateInput!] NOT: MovieWorkersAggregateInput OR: [MovieWorkersAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1369,7 +1355,6 @@ describe("Algebraic", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -1406,7 +1391,6 @@ describe("Algebraic", () => { AND: [PersonWorksInProductionAggregateInput!] NOT: PersonWorksInProductionAggregateInput OR: [PersonWorksInProductionAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1542,7 +1526,6 @@ describe("Algebraic", () => { NOT: ProductionWhere OR: [ProductionWhere!] typename_IN: [ProductionImplementation!] - viewers: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") viewers_EQ: Int viewers_GT: Int viewers_GTE: Int @@ -1693,14 +1676,12 @@ describe("Algebraic", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - pay: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") pay_EQ: Float pay_GT: Float pay_GTE: Float pay_IN: [Float] pay_LT: Float pay_LTE: Float - roles: [String!] @deprecated(reason: \\"Please use the explicit _EQ version\\") roles_EQ: [String!] roles_INCLUDES: String } @@ -1749,7 +1730,6 @@ describe("Algebraic", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1932,7 +1912,6 @@ describe("Algebraic", () => { actors_SINGLE: PersonWhere \\"\\"\\"Return Movies where some of the related People match this filter\\"\\"\\" actors_SOME: PersonWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1980,7 +1959,6 @@ describe("Algebraic", () => { AND: [PersonActedInMoviesAggregateInput!] NOT: PersonActedInMoviesAggregateInput OR: [PersonActedInMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2163,7 +2141,6 @@ describe("Algebraic", () => { actedInMovies_SINGLE: MovieWhere \\"\\"\\"Return People where some of the related Movies match this filter\\"\\"\\" actedInMovies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/nested-aggregation-on-type.test.ts b/packages/graphql/tests/schema/nested-aggregation-on-type.test.ts index e5cad80a26..f187b1d78a 100644 --- a/packages/graphql/tests/schema/nested-aggregation-on-type.test.ts +++ b/packages/graphql/tests/schema/nested-aggregation-on-type.test.ts @@ -83,7 +83,6 @@ describe("nested aggregation on interface", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -103,7 +102,6 @@ describe("nested aggregation on interface", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -313,7 +311,6 @@ describe("nested aggregation on interface", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -423,21 +420,18 @@ describe("nested aggregation on interface", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - cost: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") cost_EQ: Float cost_GT: Float cost_GTE: Float cost_IN: [Float!] cost_LT: Float cost_LTE: Float - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/null.test.ts b/packages/graphql/tests/schema/null.test.ts index 5c8eab948d..01745f1710 100644 --- a/packages/graphql/tests/schema/null.test.ts +++ b/packages/graphql/tests/schema/null.test.ts @@ -209,37 +209,30 @@ describe("Null", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int!] actorCount_LT: Int actorCount_LTE: Int - actorCounts: [Int!] @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCounts_EQ: [Int!] actorCounts_INCLUDES: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float!] averageRating_LT: Float averageRating_LTE: Float - averageRatings: [Float!] @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRatings_EQ: [Float!] averageRatings_INCLUDES: Float - createdAt: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") createdAt_EQ: DateTime createdAt_GT: DateTime createdAt_GTE: DateTime createdAt_IN: [DateTime!] createdAt_LT: DateTime createdAt_LTE: DateTime - createdAts: [DateTime!] @deprecated(reason: \\"Please use the explicit _EQ version\\") createdAts_EQ: [DateTime!] createdAts_INCLUDES: DateTime - filmedAt: PointInput @deprecated(reason: \\"Please use the explicit _EQ version\\") filmedAt_DISTANCE: PointDistance filmedAt_EQ: PointInput filmedAt_GT: PointDistance @@ -247,27 +240,21 @@ describe("Null", () => { filmedAt_IN: [PointInput!] filmedAt_LT: PointDistance filmedAt_LTE: PointDistance - filmedAts: [PointInput!] @deprecated(reason: \\"Please use the explicit _EQ version\\") filmedAts_EQ: [PointInput!] filmedAts_INCLUDES: PointInput - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - ids: [ID!] @deprecated(reason: \\"Please use the explicit _EQ version\\") ids_EQ: [ID!] ids_INCLUDES: ID - isActives: [Boolean!] @deprecated(reason: \\"Please use the explicit _EQ version\\") isActives_EQ: [Boolean!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String!] name_STARTS_WITH: String - names: [String!] @deprecated(reason: \\"Please use the explicit _EQ version\\") names_EQ: [String!] names_INCLUDES: String } diff --git a/packages/graphql/tests/schema/pluralize-consistency.test.ts b/packages/graphql/tests/schema/pluralize-consistency.test.ts index 3092e1c0d4..e207222384 100644 --- a/packages/graphql/tests/schema/pluralize-consistency.test.ts +++ b/packages/graphql/tests/schema/pluralize-consistency.test.ts @@ -178,7 +178,6 @@ describe("Pluralize consistency", () => { AND: [super_friendWhere!] NOT: super_friendWhere OR: [super_friendWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -216,7 +215,6 @@ describe("Pluralize consistency", () => { AND: [super_userMy_friendAggregateInput!] NOT: super_userMy_friendAggregateInput OR: [super_userMy_friendAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -352,7 +350,6 @@ describe("Pluralize consistency", () => { Return super_users where some of the related super_friends match this filter \\"\\"\\" my_friend_SOME: super_friendWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/query-direction.test.ts b/packages/graphql/tests/schema/query-direction.test.ts index aa514551a1..74fae6ef1a 100644 --- a/packages/graphql/tests/schema/query-direction.test.ts +++ b/packages/graphql/tests/schema/query-direction.test.ts @@ -150,7 +150,6 @@ describe("Query Direction", () => { AND: [UserFriendsAggregateInput!] NOT: UserFriendsAggregateInput OR: [UserFriendsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -290,7 +289,6 @@ describe("Query Direction", () => { friends_SINGLE: UserWhere \\"\\"\\"Return Users where some of the related Users match this filter\\"\\"\\" friends_SOME: UserWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -433,7 +431,6 @@ describe("Query Direction", () => { AND: [UserFriendsAggregateInput!] NOT: UserFriendsAggregateInput OR: [UserFriendsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -573,7 +570,6 @@ describe("Query Direction", () => { friends_SINGLE: UserWhere \\"\\"\\"Return Users where some of the related Users match this filter\\"\\"\\" friends_SOME: UserWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String diff --git a/packages/graphql/tests/schema/remove-deprecated/array-methods.test.ts b/packages/graphql/tests/schema/remove-deprecated/array-methods.test.ts index cab619dcc3..19cf38ecc0 100644 --- a/packages/graphql/tests/schema/remove-deprecated/array-methods.test.ts +++ b/packages/graphql/tests/schema/remove-deprecated/array-methods.test.ts @@ -80,7 +80,6 @@ describe("Arrays Methods", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - pay: [Float] @deprecated(reason: \\"Please use the explicit _EQ version\\") pay_EQ: [Float] pay_INCLUDES: Float } @@ -96,7 +95,6 @@ describe("Arrays Methods", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -289,7 +287,6 @@ describe("Arrays Methods", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -363,7 +360,6 @@ describe("Arrays Methods", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -545,20 +541,17 @@ describe("Arrays Methods", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float!] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID!] id_STARTS_WITH: ID - ratings: [Float!] @deprecated(reason: \\"Please use the explicit _EQ version\\") ratings_EQ: [Float!] ratings_INCLUDES: Float } diff --git a/packages/graphql/tests/schema/remove-deprecated/comments.test.ts b/packages/graphql/tests/schema/remove-deprecated/comments.test.ts index edaffce81c..8d9430cdf6 100644 --- a/packages/graphql/tests/schema/remove-deprecated/comments.test.ts +++ b/packages/graphql/tests/schema/remove-deprecated/comments.test.ts @@ -192,33 +192,27 @@ describe("Comments", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int] actorCount_LT: Int actorCount_LTE: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - customScalar: CustomScalar @deprecated(reason: \\"Please use the explicit _EQ version\\") customScalar_EQ: CustomScalar customScalar_IN: [CustomScalar] - genre: Genre @deprecated(reason: \\"Please use the explicit _EQ version\\") genre_EQ: Genre genre_IN: [Genre] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -335,7 +329,6 @@ describe("Comments", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -401,7 +394,6 @@ describe("Comments", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -548,7 +540,6 @@ describe("Comments", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -713,7 +704,6 @@ describe("Comments", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -734,7 +724,6 @@ describe("Comments", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -902,7 +891,6 @@ describe("Comments", () => { actedIn_SINGLE: ProductionWhere \\"\\"\\"Return Actors where some of the related Productions match this filter\\"\\"\\" actedIn_SOME: ProductionWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -996,14 +984,12 @@ describe("Comments", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - runtime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") runtime_EQ: Int runtime_GT: Int runtime_GTE: Int runtime_IN: [Int!] runtime_LT: Int runtime_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1081,7 +1067,6 @@ describe("Comments", () => { AND: [ProductionWhere!] NOT: ProductionWhere OR: [ProductionWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1159,14 +1144,12 @@ describe("Comments", () => { AND: [SeriesWhere!] NOT: SeriesWhere OR: [SeriesWhere!] - episodes: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episodes_EQ: Int episodes_GT: Int episodes_GTE: Int episodes_IN: [Int!] episodes_LT: Int episodes_LTE: Int - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1303,7 +1286,6 @@ describe("Comments", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -1503,7 +1485,6 @@ describe("Comments", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/remove-deprecated/implicit-equality.test.ts b/packages/graphql/tests/schema/remove-deprecated/implicit-equality.test.ts deleted file mode 100644 index d28cba3fd2..0000000000 --- a/packages/graphql/tests/schema/remove-deprecated/implicit-equality.test.ts +++ /dev/null @@ -1,613 +0,0 @@ -/* - * Copyright (c) "Neo4j" - * Neo4j Sweden AB [http://neo4j.com] - * - * This file is part of Neo4j. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { printSchemaWithDirectives } from "@graphql-tools/utils"; -import { lexicographicSortSchema } from "graphql/utilities"; -import { Neo4jGraphQL } from "../../../src"; - -describe("Implicit Equality filters", () => { - test("Should remove implicit filters if specified by the setting implicitEqualFilters", async () => { - const typeDefs = /* GraphQL */ ` - type Actor @node { - name: String - movies: [Movie!]! @relationship(type: "ACTED_IN", direction: OUT, properties: "ActedIn") - } - type Movie @node { - id: ID - actors: [Actor!]! @relationship(type: "ACTED_IN", direction: IN, properties: "ActedIn") - } - - type ActedIn @relationshipProperties { - role: String - } - `; - const neoSchema = new Neo4jGraphQL({ - typeDefs, - features: { - excludeDeprecatedFields: { - implicitEqualFilters: false, - }, - }, - }); - const printedSchema = printSchemaWithDirectives(lexicographicSortSchema(await neoSchema.getSchema())); - - expect(printedSchema).toMatchInlineSnapshot(` - "schema { - query: Query - mutation: Mutation - } - - \\"\\"\\" - The edge properties for the following fields: - * Actor.movies - * Movie.actors - \\"\\"\\" - type ActedIn { - role: String - } - - input ActedInAggregationWhereInput { - AND: [ActedInAggregationWhereInput!] - NOT: ActedInAggregationWhereInput - OR: [ActedInAggregationWhereInput!] - role_AVERAGE_LENGTH_EQUAL: Float - role_AVERAGE_LENGTH_GT: Float - role_AVERAGE_LENGTH_GTE: Float - role_AVERAGE_LENGTH_LT: Float - role_AVERAGE_LENGTH_LTE: Float - role_LONGEST_LENGTH_EQUAL: Int - role_LONGEST_LENGTH_GT: Int - role_LONGEST_LENGTH_GTE: Int - role_LONGEST_LENGTH_LT: Int - role_LONGEST_LENGTH_LTE: Int - role_SHORTEST_LENGTH_EQUAL: Int - role_SHORTEST_LENGTH_GT: Int - role_SHORTEST_LENGTH_GTE: Int - role_SHORTEST_LENGTH_LT: Int - role_SHORTEST_LENGTH_LTE: Int - } - - input ActedInCreateInput { - role: String - } - - input ActedInSort { - role: SortDirection - } - - input ActedInUpdateInput { - role: String @deprecated(reason: \\"Please use the explicit _SET field\\") - role_SET: String - } - - input ActedInWhere { - AND: [ActedInWhere!] - NOT: ActedInWhere - OR: [ActedInWhere!] - role: String @deprecated(reason: \\"Please use the explicit _EQ version\\") - role_CONTAINS: String - role_ENDS_WITH: String - role_EQ: String - role_IN: [String] - role_STARTS_WITH: String - } - - type Actor { - movies(limit: Int, offset: Int, sort: [MovieSort!], where: MovieWhere): [Movie!]! - moviesAggregate(where: MovieWhere): ActorMovieMoviesAggregationSelection - moviesConnection(after: String, first: Int, sort: [ActorMoviesConnectionSort!], where: ActorMoviesConnectionWhere): ActorMoviesConnection! - name: String - } - - type ActorAggregateSelection { - count: Int! - name: StringAggregateSelection! - } - - input ActorConnectInput { - movies: [ActorMoviesConnectFieldInput!] - } - - input ActorConnectWhere { - node: ActorWhere! - } - - input ActorCreateInput { - movies: ActorMoviesFieldInput - name: String - } - - input ActorDeleteInput { - movies: [ActorMoviesDeleteFieldInput!] - } - - input ActorDisconnectInput { - movies: [ActorMoviesDisconnectFieldInput!] - } - - type ActorEdge { - cursor: String! - node: Actor! - } - - type ActorMovieMoviesAggregationSelection { - count: Int! - edge: ActorMovieMoviesEdgeAggregateSelection - node: ActorMovieMoviesNodeAggregateSelection - } - - type ActorMovieMoviesEdgeAggregateSelection { - role: StringAggregateSelection! - } - - type ActorMovieMoviesNodeAggregateSelection { - id: IDAggregateSelection! - } - - input ActorMoviesAggregateInput { - AND: [ActorMoviesAggregateInput!] - NOT: ActorMoviesAggregateInput - OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") - count_EQ: Int - count_GT: Int - count_GTE: Int - count_LT: Int - count_LTE: Int - edge: ActedInAggregationWhereInput - node: ActorMoviesNodeAggregationWhereInput - } - - input ActorMoviesConnectFieldInput { - connect: [MovieConnectInput!] - edge: ActedInCreateInput - where: MovieConnectWhere - } - - type ActorMoviesConnection { - edges: [ActorMoviesRelationship!]! - pageInfo: PageInfo! - totalCount: Int! - } - - input ActorMoviesConnectionSort { - edge: ActedInSort - node: MovieSort - } - - input ActorMoviesConnectionWhere { - AND: [ActorMoviesConnectionWhere!] - NOT: ActorMoviesConnectionWhere - OR: [ActorMoviesConnectionWhere!] - edge: ActedInWhere - node: MovieWhere - } - - input ActorMoviesCreateFieldInput { - edge: ActedInCreateInput - node: MovieCreateInput! - } - - input ActorMoviesDeleteFieldInput { - delete: MovieDeleteInput - where: ActorMoviesConnectionWhere - } - - input ActorMoviesDisconnectFieldInput { - disconnect: MovieDisconnectInput - where: ActorMoviesConnectionWhere - } - - input ActorMoviesFieldInput { - connect: [ActorMoviesConnectFieldInput!] - create: [ActorMoviesCreateFieldInput!] - } - - input ActorMoviesNodeAggregationWhereInput { - AND: [ActorMoviesNodeAggregationWhereInput!] - NOT: ActorMoviesNodeAggregationWhereInput - OR: [ActorMoviesNodeAggregationWhereInput!] - id_MAX_EQUAL: ID - id_MAX_GT: ID - id_MAX_GTE: ID - id_MAX_LT: ID - id_MAX_LTE: ID - id_MIN_EQUAL: ID - id_MIN_GT: ID - id_MIN_GTE: ID - id_MIN_LT: ID - id_MIN_LTE: ID - } - - type ActorMoviesRelationship { - cursor: String! - node: Movie! - properties: ActedIn! - } - - input ActorMoviesUpdateConnectionInput { - edge: ActedInUpdateInput - node: MovieUpdateInput - } - - input ActorMoviesUpdateFieldInput { - connect: [ActorMoviesConnectFieldInput!] - create: [ActorMoviesCreateFieldInput!] - delete: [ActorMoviesDeleteFieldInput!] - disconnect: [ActorMoviesDisconnectFieldInput!] - update: ActorMoviesUpdateConnectionInput - where: ActorMoviesConnectionWhere - } - - \\"\\"\\" - Fields to sort Actors by. The order in which sorts are applied is not guaranteed when specifying many fields in one ActorSort object. - \\"\\"\\" - input ActorSort { - name: SortDirection - } - - input ActorUpdateInput { - movies: [ActorMoviesUpdateFieldInput!] - name: String @deprecated(reason: \\"Please use the explicit _SET field\\") - name_SET: String - } - - input ActorWhere { - AND: [ActorWhere!] - NOT: ActorWhere - OR: [ActorWhere!] - moviesAggregate: ActorMoviesAggregateInput - \\"\\"\\" - Return Actors where all of the related ActorMoviesConnections match this filter - \\"\\"\\" - moviesConnection_ALL: ActorMoviesConnectionWhere - \\"\\"\\" - Return Actors where none of the related ActorMoviesConnections match this filter - \\"\\"\\" - moviesConnection_NONE: ActorMoviesConnectionWhere - \\"\\"\\" - Return Actors where one of the related ActorMoviesConnections match this filter - \\"\\"\\" - moviesConnection_SINGLE: ActorMoviesConnectionWhere - \\"\\"\\" - Return Actors where some of the related ActorMoviesConnections match this filter - \\"\\"\\" - moviesConnection_SOME: ActorMoviesConnectionWhere - \\"\\"\\"Return Actors where all of the related Movies match this filter\\"\\"\\" - movies_ALL: MovieWhere - \\"\\"\\"Return Actors where none of the related Movies match this filter\\"\\"\\" - movies_NONE: MovieWhere - \\"\\"\\"Return Actors where one of the related Movies match this filter\\"\\"\\" - movies_SINGLE: MovieWhere - \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" - movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") - name_CONTAINS: String - name_ENDS_WITH: String - name_EQ: String - name_IN: [String] - name_STARTS_WITH: String - } - - type ActorsConnection { - edges: [ActorEdge!]! - pageInfo: PageInfo! - totalCount: Int! - } - - type CreateActorsMutationResponse { - actors: [Actor!]! - info: CreateInfo! - } - - \\"\\"\\" - Information about the number of nodes and relationships created during a create mutation - \\"\\"\\" - type CreateInfo { - nodesCreated: Int! - relationshipsCreated: Int! - } - - type CreateMoviesMutationResponse { - info: CreateInfo! - movies: [Movie!]! - } - - \\"\\"\\" - Information about the number of nodes and relationships deleted during a delete mutation - \\"\\"\\" - type DeleteInfo { - nodesDeleted: Int! - relationshipsDeleted: Int! - } - - type IDAggregateSelection { - longest: ID - shortest: ID - } - - type Movie { - actors(limit: Int, offset: Int, sort: [ActorSort!], where: ActorWhere): [Actor!]! - actorsAggregate(where: ActorWhere): MovieActorActorsAggregationSelection - actorsConnection(after: String, first: Int, sort: [MovieActorsConnectionSort!], where: MovieActorsConnectionWhere): MovieActorsConnection! - id: ID - } - - type MovieActorActorsAggregationSelection { - count: Int! - edge: MovieActorActorsEdgeAggregateSelection - node: MovieActorActorsNodeAggregateSelection - } - - type MovieActorActorsEdgeAggregateSelection { - role: StringAggregateSelection! - } - - type MovieActorActorsNodeAggregateSelection { - name: StringAggregateSelection! - } - - input MovieActorsAggregateInput { - AND: [MovieActorsAggregateInput!] - NOT: MovieActorsAggregateInput - OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") - count_EQ: Int - count_GT: Int - count_GTE: Int - count_LT: Int - count_LTE: Int - edge: ActedInAggregationWhereInput - node: MovieActorsNodeAggregationWhereInput - } - - input MovieActorsConnectFieldInput { - connect: [ActorConnectInput!] - edge: ActedInCreateInput - where: ActorConnectWhere - } - - type MovieActorsConnection { - edges: [MovieActorsRelationship!]! - pageInfo: PageInfo! - totalCount: Int! - } - - input MovieActorsConnectionSort { - edge: ActedInSort - node: ActorSort - } - - input MovieActorsConnectionWhere { - AND: [MovieActorsConnectionWhere!] - NOT: MovieActorsConnectionWhere - OR: [MovieActorsConnectionWhere!] - edge: ActedInWhere - node: ActorWhere - } - - input MovieActorsCreateFieldInput { - edge: ActedInCreateInput - node: ActorCreateInput! - } - - input MovieActorsDeleteFieldInput { - delete: ActorDeleteInput - where: MovieActorsConnectionWhere - } - - input MovieActorsDisconnectFieldInput { - disconnect: ActorDisconnectInput - where: MovieActorsConnectionWhere - } - - input MovieActorsFieldInput { - connect: [MovieActorsConnectFieldInput!] - create: [MovieActorsCreateFieldInput!] - } - - input MovieActorsNodeAggregationWhereInput { - AND: [MovieActorsNodeAggregationWhereInput!] - NOT: MovieActorsNodeAggregationWhereInput - OR: [MovieActorsNodeAggregationWhereInput!] - name_AVERAGE_LENGTH_EQUAL: Float - name_AVERAGE_LENGTH_GT: Float - name_AVERAGE_LENGTH_GTE: Float - name_AVERAGE_LENGTH_LT: Float - name_AVERAGE_LENGTH_LTE: Float - name_LONGEST_LENGTH_EQUAL: Int - name_LONGEST_LENGTH_GT: Int - name_LONGEST_LENGTH_GTE: Int - name_LONGEST_LENGTH_LT: Int - name_LONGEST_LENGTH_LTE: Int - name_SHORTEST_LENGTH_EQUAL: Int - name_SHORTEST_LENGTH_GT: Int - name_SHORTEST_LENGTH_GTE: Int - name_SHORTEST_LENGTH_LT: Int - name_SHORTEST_LENGTH_LTE: Int - } - - type MovieActorsRelationship { - cursor: String! - node: Actor! - properties: ActedIn! - } - - input MovieActorsUpdateConnectionInput { - edge: ActedInUpdateInput - node: ActorUpdateInput - } - - input MovieActorsUpdateFieldInput { - connect: [MovieActorsConnectFieldInput!] - create: [MovieActorsCreateFieldInput!] - delete: [MovieActorsDeleteFieldInput!] - disconnect: [MovieActorsDisconnectFieldInput!] - update: MovieActorsUpdateConnectionInput - where: MovieActorsConnectionWhere - } - - type MovieAggregateSelection { - count: Int! - id: IDAggregateSelection! - } - - input MovieConnectInput { - actors: [MovieActorsConnectFieldInput!] - } - - input MovieConnectWhere { - node: MovieWhere! - } - - input MovieCreateInput { - actors: MovieActorsFieldInput - id: ID - } - - input MovieDeleteInput { - actors: [MovieActorsDeleteFieldInput!] - } - - input MovieDisconnectInput { - actors: [MovieActorsDisconnectFieldInput!] - } - - type MovieEdge { - cursor: String! - node: Movie! - } - - \\"\\"\\" - Fields to sort Movies by. The order in which sorts are applied is not guaranteed when specifying many fields in one MovieSort object. - \\"\\"\\" - input MovieSort { - id: SortDirection - } - - input MovieUpdateInput { - actors: [MovieActorsUpdateFieldInput!] - id: ID @deprecated(reason: \\"Please use the explicit _SET field\\") - id_SET: ID - } - - input MovieWhere { - AND: [MovieWhere!] - NOT: MovieWhere - OR: [MovieWhere!] - actorsAggregate: MovieActorsAggregateInput - \\"\\"\\" - Return Movies where all of the related MovieActorsConnections match this filter - \\"\\"\\" - actorsConnection_ALL: MovieActorsConnectionWhere - \\"\\"\\" - Return Movies where none of the related MovieActorsConnections match this filter - \\"\\"\\" - actorsConnection_NONE: MovieActorsConnectionWhere - \\"\\"\\" - Return Movies where one of the related MovieActorsConnections match this filter - \\"\\"\\" - actorsConnection_SINGLE: MovieActorsConnectionWhere - \\"\\"\\" - Return Movies where some of the related MovieActorsConnections match this filter - \\"\\"\\" - actorsConnection_SOME: MovieActorsConnectionWhere - \\"\\"\\"Return Movies where all of the related Actors match this filter\\"\\"\\" - actors_ALL: ActorWhere - \\"\\"\\"Return Movies where none of the related Actors match this filter\\"\\"\\" - actors_NONE: ActorWhere - \\"\\"\\"Return Movies where one of the related Actors match this filter\\"\\"\\" - actors_SINGLE: ActorWhere - \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" - actors_SOME: ActorWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") - id_CONTAINS: ID - id_ENDS_WITH: ID - id_EQ: ID - id_IN: [ID] - id_STARTS_WITH: ID - } - - type MoviesConnection { - edges: [MovieEdge!]! - pageInfo: PageInfo! - totalCount: Int! - } - - type Mutation { - createActors(input: [ActorCreateInput!]!): CreateActorsMutationResponse! - createMovies(input: [MovieCreateInput!]!): CreateMoviesMutationResponse! - deleteActors(delete: ActorDeleteInput, where: ActorWhere): DeleteInfo! - deleteMovies(delete: MovieDeleteInput, where: MovieWhere): DeleteInfo! - updateActors(update: ActorUpdateInput, where: ActorWhere): UpdateActorsMutationResponse! - updateMovies(update: MovieUpdateInput, where: MovieWhere): UpdateMoviesMutationResponse! - } - - \\"\\"\\"Pagination information (Relay)\\"\\"\\" - type PageInfo { - endCursor: String - hasNextPage: Boolean! - hasPreviousPage: Boolean! - startCursor: String - } - - type Query { - actors(limit: Int, offset: Int, sort: [ActorSort!], where: ActorWhere): [Actor!]! - actorsAggregate(where: ActorWhere): ActorAggregateSelection! - actorsConnection(after: String, first: Int, sort: [ActorSort!], where: ActorWhere): ActorsConnection! - movies(limit: Int, offset: Int, sort: [MovieSort!], where: MovieWhere): [Movie!]! - moviesAggregate(where: MovieWhere): MovieAggregateSelection! - moviesConnection(after: String, first: Int, sort: [MovieSort!], where: MovieWhere): MoviesConnection! - } - - \\"\\"\\"An enum for sorting in either ascending or descending order.\\"\\"\\" - enum SortDirection { - \\"\\"\\"Sort by field values in ascending order.\\"\\"\\" - ASC - \\"\\"\\"Sort by field values in descending order.\\"\\"\\" - DESC - } - - type StringAggregateSelection { - longest: String - shortest: String - } - - type UpdateActorsMutationResponse { - actors: [Actor!]! - info: UpdateInfo! - } - - \\"\\"\\" - Information about the number of nodes and relationships created and deleted during an update mutation - \\"\\"\\" - type UpdateInfo { - nodesCreated: Int! - nodesDeleted: Int! - relationshipsCreated: Int! - relationshipsDeleted: Int! - } - - type UpdateMoviesMutationResponse { - info: UpdateInfo! - movies: [Movie!]! - }" - `); - }); -}); diff --git a/packages/graphql/tests/schema/remove-deprecated/implicit-set.test.ts b/packages/graphql/tests/schema/remove-deprecated/implicit-set.test.ts index 07a32a4b58..d46471d52f 100644 --- a/packages/graphql/tests/schema/remove-deprecated/implicit-set.test.ts +++ b/packages/graphql/tests/schema/remove-deprecated/implicit-set.test.ts @@ -100,7 +100,6 @@ describe("Implicit SET field", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - role: String @deprecated(reason: \\"Please use the explicit _EQ version\\") role_CONTAINS: String role_ENDS_WITH: String role_EQ: String @@ -164,7 +163,6 @@ describe("Implicit SET field", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -296,7 +294,6 @@ describe("Implicit SET field", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -366,7 +363,6 @@ describe("Implicit SET field", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -534,7 +530,6 @@ describe("Implicit SET field", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/scalar.test.ts b/packages/graphql/tests/schema/scalar.test.ts index 8d8c91e8c0..4c575cb3b5 100644 --- a/packages/graphql/tests/schema/scalar.test.ts +++ b/packages/graphql/tests/schema/scalar.test.ts @@ -118,19 +118,15 @@ describe("Scalar", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - myCustomArrayScalar: [CustomScalar!] @deprecated(reason: \\"Please use the explicit _EQ version\\") myCustomArrayScalar_EQ: [CustomScalar!] myCustomArrayScalar_INCLUDES: CustomScalar - myCustomScalar: CustomScalar @deprecated(reason: \\"Please use the explicit _EQ version\\") myCustomScalar_EQ: CustomScalar myCustomScalar_IN: [CustomScalar] - myRequiredCustomArrayScalar: [CustomScalar!] @deprecated(reason: \\"Please use the explicit _EQ version\\") myRequiredCustomArrayScalar_EQ: [CustomScalar!] myRequiredCustomArrayScalar_INCLUDES: CustomScalar } diff --git a/packages/graphql/tests/schema/simple.test.ts b/packages/graphql/tests/schema/simple.test.ts index 7246cd0cb0..a054d58590 100644 --- a/packages/graphql/tests/schema/simple.test.ts +++ b/packages/graphql/tests/schema/simple.test.ts @@ -138,27 +138,23 @@ describe("Simple", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int] actorCount_LT: Int actorCount_LTE: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } diff --git a/packages/graphql/tests/schema/string-comparators.test.ts b/packages/graphql/tests/schema/string-comparators.test.ts index 61a01f0e45..fe5993caa0 100644 --- a/packages/graphql/tests/schema/string-comparators.test.ts +++ b/packages/graphql/tests/schema/string-comparators.test.ts @@ -105,7 +105,6 @@ describe("String Comparators", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -245,7 +244,6 @@ describe("String Comparators", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -390,7 +388,6 @@ describe("String Comparators", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -541,7 +538,6 @@ describe("String Comparators", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: String @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_CONTAINS: String screenTime_ENDS_WITH: String screenTime_EQ: String @@ -564,7 +560,6 @@ describe("String Comparators", () => { AND: [ActorActedInAggregateInput!] NOT: ActorActedInAggregateInput OR: [ActorActedInAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -747,7 +742,6 @@ describe("String Comparators", () => { actedIn_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" actedIn_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -816,7 +810,6 @@ describe("String Comparators", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -985,7 +978,6 @@ describe("String Comparators", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/subscriptions.test.ts b/packages/graphql/tests/schema/subscriptions.test.ts index f633fe99f3..85c4b4aba4 100644 --- a/packages/graphql/tests/schema/subscriptions.test.ts +++ b/packages/graphql/tests/schema/subscriptions.test.ts @@ -102,7 +102,6 @@ describe("Subscriptions", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -126,7 +125,6 @@ describe("Subscriptions", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -216,7 +214,6 @@ describe("Subscriptions", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -359,27 +356,23 @@ describe("Subscriptions", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int] actorCount_LT: Int actorCount_LTE: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -412,7 +405,6 @@ describe("Subscriptions", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int @@ -444,20 +436,17 @@ describe("Subscriptions", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -628,7 +617,6 @@ describe("Subscriptions", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -869,7 +857,6 @@ describe("Subscriptions", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1001,27 +988,23 @@ describe("Subscriptions", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int] actorCount_LT: Int actorCount_LTE: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -1054,7 +1037,6 @@ describe("Subscriptions", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int @@ -1086,20 +1068,17 @@ describe("Subscriptions", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -1482,27 +1461,23 @@ describe("Subscriptions", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int] actorCount_LT: Int actorCount_LTE: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -1535,7 +1510,6 @@ describe("Subscriptions", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int @@ -1566,20 +1540,17 @@ describe("Subscriptions", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -1675,7 +1646,6 @@ describe("Subscriptions", () => { AND: [PersonMoviesAggregateInput!] NOT: PersonMoviesAggregateInput OR: [PersonMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1920,7 +1890,6 @@ describe("Subscriptions", () => { AND: [StarMoviesAggregateInput!] NOT: StarMoviesAggregateInput OR: [StarMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2217,7 +2186,6 @@ describe("Subscriptions", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -2286,7 +2254,6 @@ describe("Subscriptions", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2532,7 +2499,6 @@ describe("Subscriptions", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -2674,27 +2640,23 @@ describe("Subscriptions", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int] actorCount_LT: Int actorCount_LTE: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -2727,7 +2689,6 @@ describe("Subscriptions", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int @@ -2759,20 +2720,17 @@ describe("Subscriptions", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -2925,7 +2883,6 @@ describe("Subscriptions", () => { AND: [ActorSubscriptionWhere!] NOT: ActorSubscriptionWhere OR: [ActorSubscriptionWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -2949,7 +2906,6 @@ describe("Subscriptions", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3039,7 +2995,6 @@ describe("Subscriptions", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3181,7 +3136,6 @@ describe("Subscriptions", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int @@ -3213,20 +3167,17 @@ describe("Subscriptions", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -3380,7 +3331,6 @@ describe("Subscriptions", () => { AND: [AgreementOwnerAggregateInput!] NOT: AgreementOwnerAggregateInput OR: [AgreementOwnerAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -3493,14 +3443,12 @@ describe("Subscriptions", () => { AND: [AgreementSubscriptionWhere!] NOT: AgreementSubscriptionWhere OR: [AgreementSubscriptionWhere!] - id: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") id_EQ: Int id_GT: Int id_GTE: Int id_IN: [Int!] id_LT: Int id_LTE: Int - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3539,14 +3487,12 @@ describe("Subscriptions", () => { AND: [AgreementWhere!] NOT: AgreementWhere OR: [AgreementWhere!] - id: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") id_EQ: Int id_GT: Int id_GTE: Int id_IN: [Int!] id_LT: Int id_LTE: Int - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -3700,13 +3646,11 @@ describe("Subscriptions", () => { AND: [UserWhere!] NOT: UserWhere OR: [UserWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String] name_STARTS_WITH: String - username: String @deprecated(reason: \\"Please use the explicit _EQ version\\") username_CONTAINS: String username_ENDS_WITH: String username_EQ: String @@ -4030,27 +3974,23 @@ describe("Subscriptions", () => { AND: [MovieSubscriptionWhere!] NOT: MovieSubscriptionWhere OR: [MovieSubscriptionWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int actorCount_IN: [Int] actorCount_LT: Int actorCount_LTE: Int - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -4083,7 +4023,6 @@ describe("Subscriptions", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - actorCount: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") actorCount_EQ: Int actorCount_GT: Int actorCount_GTE: Int @@ -4114,20 +4053,17 @@ describe("Subscriptions", () => { actors_SINGLE: ActorWhere \\"\\"\\"Return Movies where some of the related Actors match this filter\\"\\"\\" actors_SOME: ActorWhere - averageRating: Float @deprecated(reason: \\"Please use the explicit _EQ version\\") averageRating_EQ: Float averageRating_GT: Float averageRating_GTE: Float averageRating_IN: [Float] averageRating_LT: Float averageRating_LTE: Float - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - isActive: Boolean @deprecated(reason: \\"Please use the explicit _EQ version\\") isActive_EQ: Boolean } @@ -4223,7 +4159,6 @@ describe("Subscriptions", () => { AND: [PersonMoviesAggregateInput!] NOT: PersonMoviesAggregateInput OR: [PersonMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4458,7 +4393,6 @@ describe("Subscriptions", () => { AND: [StarMoviesAggregateInput!] NOT: StarMoviesAggregateInput OR: [StarMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4769,7 +4703,6 @@ describe("Subscriptions", () => { AND: [CreatureMoviesAggregateInput!] NOT: CreatureMoviesAggregateInput OR: [CreatureMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -4928,7 +4861,6 @@ describe("Subscriptions", () => { AND: [MovieDirectorAggregateInput!] NOT: MovieDirectorAggregateInput OR: [MovieDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5001,13 +4933,11 @@ describe("Subscriptions", () => { director: CreatureWhere directorAggregate: MovieDirectorAggregateInput directorConnection: ProductionDirectorConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5084,7 +5014,6 @@ describe("Subscriptions", () => { AND: [PersonMoviesAggregateInput!] NOT: PersonMoviesAggregateInput OR: [PersonMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5205,7 +5134,6 @@ describe("Subscriptions", () => { AND: [ProductionDirectorAggregateInput!] NOT: ProductionDirectorAggregateInput OR: [ProductionDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5297,7 +5225,6 @@ describe("Subscriptions", () => { director: CreatureWhere directorAggregate: ProductionDirectorAggregateInput directorConnection: ProductionDirectorConnectionWhere - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -5383,7 +5310,6 @@ describe("Subscriptions", () => { AND: [SeriesDirectorAggregateInput!] NOT: SeriesDirectorAggregateInput OR: [SeriesDirectorAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -5452,20 +5378,17 @@ describe("Subscriptions", () => { AND: [SeriesSubscriptionWhere!] NOT: SeriesSubscriptionWhere OR: [SeriesSubscriptionWhere!] - episode: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episode_EQ: Int episode_GT: Int episode_GTE: Int episode_IN: [Int!] episode_LT: Int episode_LTE: Int - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -5499,20 +5422,17 @@ describe("Subscriptions", () => { director: CreatureWhere directorAggregate: SeriesDirectorAggregateInput directorConnection: ProductionDirectorConnectionWhere - episode: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") episode_EQ: Int episode_GT: Int episode_GTE: Int episode_IN: [Int!] episode_LT: Int episode_LTE: Int - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/schema/types/bigint.test.ts b/packages/graphql/tests/schema/types/bigint.test.ts index a65001dcdf..2e640fb874 100644 --- a/packages/graphql/tests/schema/types/bigint.test.ts +++ b/packages/graphql/tests/schema/types/bigint.test.ts @@ -114,13 +114,11 @@ describe("Bigint", () => { AND: [FileWhere!] NOT: FileWhere OR: [FileWhere!] - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String!] name_STARTS_WITH: String - size: BigInt @deprecated(reason: \\"Please use the explicit _EQ version\\") size_EQ: BigInt size_GT: BigInt size_GTE: BigInt diff --git a/packages/graphql/tests/schema/types/date.test.ts b/packages/graphql/tests/schema/types/date.test.ts index 0af4f1fec2..07d800dbf3 100644 --- a/packages/graphql/tests/schema/types/date.test.ts +++ b/packages/graphql/tests/schema/types/date.test.ts @@ -107,14 +107,12 @@ describe("Date", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - date: Date @deprecated(reason: \\"Please use the explicit _EQ version\\") date_EQ: Date date_GT: Date date_GTE: Date date_IN: [Date] date_LT: Date date_LTE: Date - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/types/datetime.test.ts b/packages/graphql/tests/schema/types/datetime.test.ts index 31314d1ed0..681e0a37ab 100644 --- a/packages/graphql/tests/schema/types/datetime.test.ts +++ b/packages/graphql/tests/schema/types/datetime.test.ts @@ -113,14 +113,12 @@ describe("Datetime", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - datetime: DateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") datetime_EQ: DateTime datetime_GT: DateTime datetime_GTE: DateTime datetime_IN: [DateTime] datetime_LT: DateTime datetime_LTE: DateTime - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/types/duration.test.ts b/packages/graphql/tests/schema/types/duration.test.ts index 15e7cf1c96..c7dd615adf 100644 --- a/packages/graphql/tests/schema/types/duration.test.ts +++ b/packages/graphql/tests/schema/types/duration.test.ts @@ -113,14 +113,12 @@ describe("Duration", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - duration: Duration @deprecated(reason: \\"Please use the explicit _EQ version\\") duration_EQ: Duration duration_GT: Duration duration_GTE: Duration duration_IN: [Duration] duration_LT: Duration duration_LTE: Duration - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/types/localdatetime.test.ts b/packages/graphql/tests/schema/types/localdatetime.test.ts index 662487f4a9..c1004b107d 100644 --- a/packages/graphql/tests/schema/types/localdatetime.test.ts +++ b/packages/graphql/tests/schema/types/localdatetime.test.ts @@ -113,13 +113,11 @@ describe("Localdatetime", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - localDT: LocalDateTime @deprecated(reason: \\"Please use the explicit _EQ version\\") localDT_EQ: LocalDateTime localDT_GT: LocalDateTime localDT_GTE: LocalDateTime diff --git a/packages/graphql/tests/schema/types/localtime.test.ts b/packages/graphql/tests/schema/types/localtime.test.ts index 885c25673f..1bacb118b8 100644 --- a/packages/graphql/tests/schema/types/localtime.test.ts +++ b/packages/graphql/tests/schema/types/localtime.test.ts @@ -115,13 +115,11 @@ describe("Localtime", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - time: LocalTime @deprecated(reason: \\"Please use the explicit _EQ version\\") time_EQ: LocalTime time_GT: LocalTime time_GTE: LocalTime diff --git a/packages/graphql/tests/schema/types/point.test.ts b/packages/graphql/tests/schema/types/point.test.ts index cc51889be6..9f36accf19 100644 --- a/packages/graphql/tests/schema/types/point.test.ts +++ b/packages/graphql/tests/schema/types/point.test.ts @@ -92,7 +92,6 @@ describe("Point", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - filmedAt: PointInput @deprecated(reason: \\"Please use the explicit _EQ version\\") filmedAt_DISTANCE: PointDistance filmedAt_EQ: PointInput filmedAt_GT: PointDistance @@ -271,7 +270,6 @@ describe("Point", () => { AND: [MachineWhere!] NOT: MachineWhere OR: [MachineWhere!] - partLocation: CartesianPointInput @deprecated(reason: \\"Please use the explicit _EQ version\\") partLocation_DISTANCE: CartesianPointDistance partLocation_EQ: CartesianPointInput partLocation_GT: CartesianPointDistance @@ -396,7 +394,6 @@ describe("Point", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - filmedAt: [PointInput!] @deprecated(reason: \\"Please use the explicit _EQ version\\") filmedAt_EQ: [PointInput!] filmedAt_INCLUDES: PointInput } @@ -544,7 +541,6 @@ describe("Point", () => { AND: [MachineWhere!] NOT: MachineWhere OR: [MachineWhere!] - partLocations: [CartesianPointInput!] @deprecated(reason: \\"Please use the explicit _EQ version\\") partLocations_EQ: [CartesianPointInput!] partLocations_INCLUDES: CartesianPointInput } diff --git a/packages/graphql/tests/schema/types/time.test.ts b/packages/graphql/tests/schema/types/time.test.ts index 6d1e722e95..14b3d17180 100644 --- a/packages/graphql/tests/schema/types/time.test.ts +++ b/packages/graphql/tests/schema/types/time.test.ts @@ -105,13 +105,11 @@ describe("Time", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID id_IN: [ID] id_STARTS_WITH: ID - time: Time @deprecated(reason: \\"Please use the explicit _EQ version\\") time_EQ: Time time_GT: Time time_GTE: Time diff --git a/packages/graphql/tests/schema/union-interface-relationship.test.ts b/packages/graphql/tests/schema/union-interface-relationship.test.ts index 1beeca7397..28103764be 100644 --- a/packages/graphql/tests/schema/union-interface-relationship.test.ts +++ b/packages/graphql/tests/schema/union-interface-relationship.test.ts @@ -134,7 +134,6 @@ describe("Union Interface Relationships", () => { AND: [ActedInWhere!] NOT: ActedInWhere OR: [ActedInWhere!] - screenTime: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") screenTime_EQ: Int screenTime_GT: Int screenTime_GTE: Int @@ -203,7 +202,6 @@ describe("Union Interface Relationships", () => { AND: [ActorMoviesAggregateInput!] NOT: ActorMoviesAggregateInput OR: [ActorMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -341,7 +339,6 @@ describe("Union Interface Relationships", () => { AND: [ActorWhere!] NOT: ActorWhere OR: [ActorWhere!] - id: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") id_EQ: Int id_GT: Int id_GTE: Int @@ -373,7 +370,6 @@ describe("Union Interface Relationships", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return Actors where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String @@ -450,7 +446,6 @@ describe("Union Interface Relationships", () => { AND: [DirectedWhere!] NOT: DirectedWhere OR: [DirectedWhere!] - year: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") year_EQ: Int year_GT: Int year_GTE: Int @@ -516,21 +511,18 @@ describe("Union Interface Relationships", () => { AND: [InfluencerWhere!] NOT: InfluencerWhere OR: [InfluencerWhere!] - reputation: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") reputation_EQ: Int reputation_GT: Int reputation_GTE: Int reputation_IN: [Int!] reputation_LT: Int reputation_LTE: Int - reviewerId: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") reviewerId_EQ: Int reviewerId_GT: Int reviewerId_GTE: Int reviewerId_IN: [Int] reviewerId_LT: Int reviewerId_LTE: Int - url: String @deprecated(reason: \\"Please use the explicit _EQ version\\") url_CONTAINS: String url_ENDS_WITH: String url_EQ: String @@ -583,7 +575,6 @@ describe("Union Interface Relationships", () => { AND: [MovieActorsAggregateInput!] NOT: MovieActorsAggregateInput OR: [MovieActorsAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -901,7 +892,6 @@ describe("Union Interface Relationships", () => { AND: [MovieReviewersAggregateInput!] NOT: MovieReviewersAggregateInput OR: [MovieReviewersAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1092,7 +1082,6 @@ describe("Union Interface Relationships", () => { directors_SINGLE: DirectorWhere \\"\\"\\"Return Movies where some of the related Directors match this filter\\"\\"\\" directors_SOME: DirectorWhere - imdbId: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") imdbId_EQ: Int imdbId_GT: Int imdbId_GTE: Int @@ -1124,7 +1113,6 @@ describe("Union Interface Relationships", () => { reviewers_SINGLE: ReviewerWhere \\"\\"\\"Return Movies where some of the related Reviewers match this filter\\"\\"\\" reviewers_SOME: ReviewerWhere - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String @@ -1233,7 +1221,6 @@ describe("Union Interface Relationships", () => { AND: [PersonMoviesAggregateInput!] NOT: PersonMoviesAggregateInput OR: [PersonMoviesAggregateInput!] - count: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") count_EQ: Int count_GT: Int count_GTE: Int @@ -1381,7 +1368,6 @@ describe("Union Interface Relationships", () => { AND: [PersonWhere!] NOT: PersonWhere OR: [PersonWhere!] - id: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") id_EQ: Int id_GT: Int id_GTE: Int @@ -1413,20 +1399,17 @@ describe("Union Interface Relationships", () => { movies_SINGLE: MovieWhere \\"\\"\\"Return People where some of the related Movies match this filter\\"\\"\\" movies_SOME: MovieWhere - name: String @deprecated(reason: \\"Please use the explicit _EQ version\\") name_CONTAINS: String name_ENDS_WITH: String name_EQ: String name_IN: [String!] name_STARTS_WITH: String - reputation: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") reputation_EQ: Int reputation_GT: Int reputation_GTE: Int reputation_IN: [Int!] reputation_LT: Int reputation_LTE: Int - reviewerId: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") reviewerId_EQ: Int reviewerId_GT: Int reviewerId_GTE: Int @@ -1508,7 +1491,6 @@ describe("Union Interface Relationships", () => { AND: [ReviewWhere!] NOT: ReviewWhere OR: [ReviewWhere!] - score: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") score_EQ: Int score_GT: Int score_GTE: Int @@ -1570,14 +1552,12 @@ describe("Union Interface Relationships", () => { AND: [ReviewerWhere!] NOT: ReviewerWhere OR: [ReviewerWhere!] - reputation: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") reputation_EQ: Int reputation_GT: Int reputation_GTE: Int reputation_IN: [Int!] reputation_LT: Int reputation_LTE: Int - reviewerId: Int @deprecated(reason: \\"Please use the explicit _EQ version\\") reviewerId_EQ: Int reviewerId_GT: Int reviewerId_GTE: Int diff --git a/packages/graphql/tests/schema/unions.test.ts b/packages/graphql/tests/schema/unions.test.ts index 64391284b4..a7ed421e3d 100644 --- a/packages/graphql/tests/schema/unions.test.ts +++ b/packages/graphql/tests/schema/unions.test.ts @@ -110,7 +110,6 @@ describe("Unions", () => { AND: [GenreWhere!] NOT: GenreWhere OR: [GenreWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID @@ -310,7 +309,6 @@ describe("Unions", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - id: ID @deprecated(reason: \\"Please use the explicit _EQ version\\") id_CONTAINS: ID id_ENDS_WITH: ID id_EQ: ID diff --git a/packages/graphql/tests/schema/vector.test.ts b/packages/graphql/tests/schema/vector.test.ts index 778f22d28c..c44264a0d4 100644 --- a/packages/graphql/tests/schema/vector.test.ts +++ b/packages/graphql/tests/schema/vector.test.ts @@ -136,13 +136,11 @@ describe("@vector schema", () => { AND: [MovieWhere!] NOT: MovieWhere OR: [MovieWhere!] - description: String @deprecated(reason: \\"Please use the explicit _EQ version\\") description_CONTAINS: String description_ENDS_WITH: String description_EQ: String description_IN: [String] description_STARTS_WITH: String - title: String @deprecated(reason: \\"Please use the explicit _EQ version\\") title_CONTAINS: String title_ENDS_WITH: String title_EQ: String diff --git a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-auth.test.ts b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-auth.test.ts index db1e481dbc..8446e4c5dd 100644 --- a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-auth.test.ts +++ b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-auth.test.ts @@ -23,8 +23,8 @@ import { formatCypher, formatParams, translateQuery } from "../../../utils/tck-t describe("cypher directive filtering - Auth", () => { test("With authorization on type using @cypher return value", async () => { - const typeDefs = ` - type Movie @node @authorization(filter: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) { + const typeDefs = /* GraphQL */ ` + type Movie @node @authorization(filter: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) { title: String custom_field: String @cypher( @@ -92,7 +92,7 @@ describe("cypher directive filtering - Auth", () => { }); test("With authorization on @cypher field using @cypher return value", async () => { - const typeDefs = ` + const typeDefs = /* GraphQL */ ` type Movie @node { title: String custom_field: String @@ -102,7 +102,7 @@ describe("cypher directive filtering - Auth", () => { """ columnName: "s" ) - @authorization(filter: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) + @authorization(filter: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) actors: [Actor!]! @relationship(type: "ACTED_IN", direction: IN) } @@ -172,7 +172,7 @@ describe("cypher directive filtering - Auth", () => { }); test("With authorization on @cypher field using different field return value", async () => { - const typeDefs = ` + const typeDefs = /* GraphQL */ ` type Movie @node { title: String custom_field: String @@ -182,7 +182,7 @@ describe("cypher directive filtering - Auth", () => { """ columnName: "s" ) - @authorization(filter: [{ where: { node: { title: "$jwt.custom_value" } } }]) + @authorization(filter: [{ where: { node: { title_EQ: "$jwt.custom_value" } } }]) actors: [Actor!]! @relationship(type: "ACTED_IN", direction: IN) } @@ -222,7 +222,7 @@ describe("cypher directive filtering - Auth", () => { }); test("With authorization on Actor type field using nested Movie's @cypher field return value", async () => { - const typeDefs = ` + const typeDefs = /* GraphQL */ ` type Movie @node { title: String custom_field: String @@ -235,7 +235,10 @@ describe("cypher directive filtering - Auth", () => { actors: [Actor!]! @relationship(type: "ACTED_IN", direction: IN) } - type Actor @authorization(filter: [{ where: { node: { movies_SOME: { custom_field: "$jwt.custom_value" } } } }]) { + type Actor + @authorization( + filter: [{ where: { node: { movies_SOME: { custom_field_EQ: "$jwt.custom_value" } } } }] + ) { name: String movies: [Movie!]! @relationship(type: "ACTED_IN", direction: OUT) } @@ -298,9 +301,9 @@ describe("cypher directive filtering - Auth", () => { }); test("With authorization on a different field than the @cypher field", async () => { - const typeDefs = ` + const typeDefs = /* GraphQL */ ` type Movie @node { - title: String @authorization(filter: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) + title: String @authorization(filter: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) custom_field: String @cypher( statement: """ @@ -368,7 +371,7 @@ describe("cypher directive filtering - Auth", () => { test("With authorization on type using @cypher return value, with validate", async () => { const typeDefs = /* GraphQL */ ` - type Movie @node @authorization(validate: [{ where: { node: { custom_field: "$jwt.custom_value" } } }]) { + type Movie @node @authorization(validate: [{ where: { node: { custom_field_EQ: "$jwt.custom_value" } } }]) { title: String custom_field: String @cypher( diff --git a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-connect.test.ts b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-connect.test.ts index 3a99befb56..a826b20121 100644 --- a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-connect.test.ts +++ b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-connect.test.ts @@ -52,8 +52,8 @@ describe("cypher directive filtering", () => { { where: { node: { - name: "Keanu Reeves", - custom_field: "hello world!" + name_EQ: "Keanu Reeves", + custom_field_EQ: "hello world!" } } } diff --git a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-list-auth.test.ts b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-list-auth.test.ts index 2739cc795b..c7e46d6907 100644 --- a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-list-auth.test.ts +++ b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-list-auth.test.ts @@ -279,7 +279,7 @@ describe("cypher directive filtering - List Auth", () => { """ columnName: "list" ) - @authorization(filter: [{ where: { node: { custom_list: "$jwt.custom_value" } } }]) + @authorization(filter: [{ where: { node: { custom_list_EQ: "$jwt.custom_value" } } }]) actors: [Actor!]! @relationship(type: "ACTED_IN", direction: IN) } @@ -334,7 +334,9 @@ describe("cypher directive filtering - List Auth", () => { } type Actor - @authorization(filter: [{ where: { node: { movies_SOME: { custom_list: "$jwt.custom_value" } } } }]) { + @authorization( + filter: [{ where: { node: { movies_SOME: { custom_list_EQ: "$jwt.custom_value" } } } }] + ) { name: String movies: [Movie!]! @relationship(type: "ACTED_IN", direction: OUT) } diff --git a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-misc.test.ts b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-misc.test.ts index d724f13b39..f3d2e30f65 100644 --- a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-misc.test.ts +++ b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-misc.test.ts @@ -45,9 +45,9 @@ describe("cypher directive filtering - Auth", () => { query { movies( where: { - custom_field: "hello world!" + custom_field_EQ: "hello world!" actors_SOME: { - name: "Keanu Reeves" + name_EQ: "Keanu Reeves" } } ) { @@ -134,7 +134,7 @@ describe("cypher directive filtering - Auth", () => { query { actors { name - movies(where: { custom_field: "hello world!"}) { + movies(where: { custom_field_EQ: "hello world!"}) { title } } @@ -199,9 +199,9 @@ describe("cypher directive filtering - Auth", () => { const query = ` query { - movies(where: { custom_field: "hello world!" }) { + movies(where: { custom_field_EQ: "hello world!" }) { title - actors(where: { name: "Keanu Reeves" }) { + actors(where: { name_EQ: "Keanu Reeves" }) { name } } @@ -282,7 +282,7 @@ describe("cypher directive filtering - Auth", () => { const query = ` query { - movies(where: { custom_field: "hello world!", another_custom_field_GT: 50 }) { + movies(where: { custom_field_EQ: "hello world!", another_custom_field_GT: 50 }) { title actors { name @@ -370,9 +370,9 @@ describe("cypher directive filtering - Auth", () => { const query = ` query { - movies(where: { custom_field: "hello world!" }) { + movies(where: { custom_field_EQ: "hello world!" }) { title - actors(where: { another_custom_field: "goodbye!" name: "Keanu Reeves" }) { + actors(where: { another_custom_field_EQ: "goodbye!" name_EQ: "Keanu Reeves" }) { name } } diff --git a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-one-to-one-relationship.test.ts b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-one-to-one-relationship.test.ts index d912dac7ad..43fe5ffd11 100644 --- a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-one-to-one-relationship.test.ts +++ b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-one-to-one-relationship.test.ts @@ -120,7 +120,7 @@ describe("cypher directive filtering - One To One Relationship", () => { const query = /* GraphQL */ ` query { - movies(where: { released: 2003, actor: { name_EQ: "Keanu Reeves", age_GT: 30 } }) { + movies(where: { released_EQ: 2003, actor: { name_EQ: "Keanu Reeves", age_GT: 30 } }) { title } } @@ -921,7 +921,7 @@ describe("cypher directive filtering - One To One Relationship", () => { const query = /* GraphQL */ ` query { - people(where: { directed: { title: "The Matrix" } }) { + people(where: { directed: { title_EQ: "The Matrix" } }) { directed { title directed_by { diff --git a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-scalar.test.ts b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-scalar.test.ts index bc75c398b1..f437735fce 100644 --- a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-scalar.test.ts +++ b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-scalar.test.ts @@ -38,7 +38,7 @@ describe("cypher directive filtering - Auth", () => { const query = ` query { - movies(where: { special_count_GTE: 1, title: "CustomType One" }) { + movies(where: { special_count_GTE: 1, title_EQ: "CustomType One" }) { special_count } } @@ -107,7 +107,7 @@ describe("cypher directive filtering - Auth", () => { const query = ` query { - movies(where: { special_count_GTE: 1, title: "CustomType Unknown" }) { + movies(where: { special_count_GTE: 1, title_EQ: "CustomType Unknown" }) { special_count } } diff --git a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-sorting.test.ts b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-sorting.test.ts index 2cb39091c2..7dcd157cbe 100644 --- a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-sorting.test.ts +++ b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-sorting.test.ts @@ -125,7 +125,7 @@ describe("cypher directive filtering", () => { const query = /* GraphQL */ ` query { - movies(where: { custom_field: "hello world!" }, sort: [{ title: DESC }]) { + movies(where: { custom_field_EQ: "hello world!" }, sort: [{ title: DESC }]) { title actors { name diff --git a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-temporal.test.ts b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-temporal.test.ts index a1acd09c56..360340f283 100644 --- a/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-temporal.test.ts +++ b/packages/graphql/tests/tck/directives/cypher/filtering/cypher-filtering-temporal.test.ts @@ -114,7 +114,7 @@ describe("cypher directive filtering - Auth", () => { query { movies( where: { - special_duration: "P14DT16H12M" + special_duration_EQ: "P14DT16H12M" } ) { title diff --git a/packages/graphql/tests/tck/issues/1430.test.ts b/packages/graphql/tests/tck/issues/1430.test.ts index ea9dd755ce..e1c1727846 100644 --- a/packages/graphql/tests/tck/issues/1430.test.ts +++ b/packages/graphql/tests/tck/issues/1430.test.ts @@ -129,8 +129,8 @@ describe("https://github.com/neo4j/graphql/issues/1430", () => { const query = /* GraphQL */ ` mutation { updateAbces( - where: { id: "TestId" } - update: { interface: { connect: { where: { node: { name: "childone name connect" } } } } } + where: { id_EQ: "TestId" } + update: { interface: { connect: { where: { node: { name_EQ: "childone name connect" } } } } } ) { abces { id diff --git a/packages/graphql/tests/tck/issues/3215.test.ts b/packages/graphql/tests/tck/issues/3215.test.ts index 8675530413..5f72f45640 100644 --- a/packages/graphql/tests/tck/issues/3215.test.ts +++ b/packages/graphql/tests/tck/issues/3215.test.ts @@ -68,7 +68,7 @@ describe("https://github.com/neo4j/graphql/issues/3215", () => { test("should ignore undefined parameters on boolean NOT", async () => { const query = /* GraphQL */ ` query MyQuery($name: String) { - actors(where: { age_GT: 25, NOT: { name: $name } }) { + actors(where: { age_GT: 25, NOT: { name_EQ: $name } }) { name age } diff --git a/packages/graphql/tests/tck/issues/4268.test.ts b/packages/graphql/tests/tck/issues/4268.test.ts index b7a5daf3d6..45d3314cf4 100644 --- a/packages/graphql/tests/tck/issues/4268.test.ts +++ b/packages/graphql/tests/tck/issues/4268.test.ts @@ -51,7 +51,7 @@ describe("https://github.com/neo4j/graphql/issues/4268", () => { } `; - const token = createBearerToken("secret", { roles: ["admin"], id: "something", email: "something" }); + const token = createBearerToken("secret", { roles_EQ: ["admin"], id: "something", email: "something" }); const result = await translateQuery(neoSchema, query, { token }); expect(formatCypher(result.cypher)).toMatchInlineSnapshot(` @@ -65,7 +65,8 @@ describe("https://github.com/neo4j/graphql/issues/4268", () => { "{ \\"isAuthenticated\\": true, \\"jwt\\": { - \\"roles\\": [ + \\"roles\\": [], + \\"roles_EQ\\": [ \\"admin\\" ], \\"id\\": \\"something\\", @@ -94,8 +95,8 @@ describe("https://github.com/neo4j/graphql/issues/4268", () => { where: { jwt: { OR: [ - { OR: [{ roles: "admin" }, { roles: "super-admin" }] } - { OR: [{ roles: "user" }, { roles: "super-user" }] } + { OR: [{ roles_EQ: "admin" }, { roles_EQ: "super-admin" }] } + { OR: [{ roles_EQ: "user" }, { roles_EQ: "super-user" }] } ] } } @@ -161,7 +162,10 @@ describe("https://github.com/neo4j/graphql/issues/4268", () => { @node @authorization( validate: [ - { when: [BEFORE], where: { jwt: { AND: [{ roles_EQ: "admin" }, { roles_EQ: "super-admin" }] } } } + { + when: [BEFORE] + where: { jwt: { AND: [{ roles_EQ: "admin" }, { roles_EQ: "super-admin" }] } } + } ] ) { title: String @@ -346,7 +350,9 @@ describe("https://github.com/neo4j/graphql/issues/4268", () => { type Movie @node - @authorization(validate: [{ when: [BEFORE], where: { jwt: { NOT: { NOT: { roles_EQ: "admin" } } } } }]) { + @authorization( + validate: [{ when: [BEFORE], where: { jwt: { NOT: { NOT: { roles_EQ: "admin" } } } } }] + ) { title: String director: [Person!]! @relationship(type: "DIRECTED", direction: IN) } diff --git a/packages/graphql/tests/tck/issues/5515.test.ts b/packages/graphql/tests/tck/issues/5515.test.ts index 8f10f4f518..766a270805 100644 --- a/packages/graphql/tests/tck/issues/5515.test.ts +++ b/packages/graphql/tests/tck/issues/5515.test.ts @@ -37,7 +37,7 @@ describe("https://github.com/neo4j/graphql/issues/5515", () => { { operations: [CREATE, DELETE], where: { jwt: { roles_INCLUDES: "admin" } } } { operations: [READ, UPDATE], where: { node: { id_EQ: "$jwt.sub" } } } ] - filter: [{ where: { node: { id: "$jwt.sub" } } }] + filter: [{ where: { node: { id_EQ: "$jwt.sub" } } }] ) { id: ID! cabinets: [Cabinet!]! @relationship(type: "HAS_CABINET", direction: OUT) diff --git a/packages/graphql/tests/tck/issues/5599.test.ts b/packages/graphql/tests/tck/issues/5599.test.ts index 7deb0ba692..31eb06146d 100644 --- a/packages/graphql/tests/tck/issues/5599.test.ts +++ b/packages/graphql/tests/tck/issues/5599.test.ts @@ -53,7 +53,7 @@ describe("https://github.com/neo4j/graphql/issues/5599", () => { const query = /* GraphQL */ ` mutation { updateMovies( - update: { actors: { LeadActor: [{ delete: [{ where: { node: { name: "Actor1" } } }] }] } } + update: { actors: { LeadActor: [{ delete: [{ where: { node: { name_EQ: "Actor1" } } }] }] } } ) { movies { title @@ -94,7 +94,7 @@ describe("https://github.com/neo4j/graphql/issues/5599", () => { { \\"where\\": { \\"node\\": { - \\"name\\": \\"Actor1\\" + \\"name_EQ\\": \\"Actor1\\" } } } @@ -116,8 +116,8 @@ describe("https://github.com/neo4j/graphql/issues/5599", () => { updateMovies( update: { actors: { - LeadActor: [{ delete: [{ where: { node: { name: "Actor1" } } }] }] - Extra: [{ delete: [{ where: { node: { name: "Actor2" } } }] }] + LeadActor: [{ delete: [{ where: { node: { name_EQ: "Actor1" } } }] }] + Extra: [{ delete: [{ where: { node: { name_EQ: "Actor2" } } }] }] } } ) { @@ -173,7 +173,7 @@ describe("https://github.com/neo4j/graphql/issues/5599", () => { { \\"where\\": { \\"node\\": { - \\"name\\": \\"Actor1\\" + \\"name_EQ\\": \\"Actor1\\" } } } @@ -186,7 +186,7 @@ describe("https://github.com/neo4j/graphql/issues/5599", () => { { \\"where\\": { \\"node\\": { - \\"name\\": \\"Actor2\\" + \\"name_EQ\\": \\"Actor2\\" } } } diff --git a/packages/graphql/tests/tck/issues/988.test.ts b/packages/graphql/tests/tck/issues/988.test.ts index 6cb800a11c..bad4459dd9 100644 --- a/packages/graphql/tests/tck/issues/988.test.ts +++ b/packages/graphql/tests/tck/issues/988.test.ts @@ -56,7 +56,7 @@ describe("https://github.com/neo4j/graphql/issues/988", () => { test("where with multiple filters and params", async () => { const query = /* GraphQL */ ` - query getSeriesWithRelationFilters($where: SeriesWhere = { current: true }) { + query getSeriesWithRelationFilters($where: SeriesWhere = { current_EQ: true }) { series(where: $where) { name current From 05f9ebbb7a09225b03742401c8fb4e4a9bbaaa1c Mon Sep 17 00:00:00 2001 From: Darrell Warde <8117355+darrellwarde@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:25:22 +0000 Subject: [PATCH 3/5] Create red-cows-shop.md --- .changeset/red-cows-shop.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .changeset/red-cows-shop.md diff --git a/.changeset/red-cows-shop.md b/.changeset/red-cows-shop.md new file mode 100644 index 0000000000..da7aaee903 --- /dev/null +++ b/.changeset/red-cows-shop.md @@ -0,0 +1,23 @@ +--- +"@neo4j/graphql": major +--- + +Implicit filtering fields have been removed, please use the explicit versions: + +```graphql +# Old syntax +{ + movies(where: { title: "The Matrix" }) { + title + } +} + +# New syntax +{ + movies(where: { title_EQ: "The Matrix" }) { + title + } +} +``` + +The `implicitEqualFilters` option of `excludeDeprecatedFields` has been removed. From b4dae9becba7364f093a696aa85392b045cb487f Mon Sep 17 00:00:00 2001 From: Darrell Warde Date: Mon, 18 Nov 2024 15:26:09 +0000 Subject: [PATCH 4/5] Keep placeholder file for deprecations --- packages/graphql/src/schema/constants.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/graphql/src/schema/constants.ts b/packages/graphql/src/schema/constants.ts index ebdc251951..4b30cdb7d5 100644 --- a/packages/graphql/src/schema/constants.ts +++ b/packages/graphql/src/schema/constants.ts @@ -16,3 +16,5 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +// TODO: Add constant deprecations here From 014808fd117c503ba043629eb92411b421fd8d3d Mon Sep 17 00:00:00 2001 From: Darrell Warde Date: Mon, 18 Nov 2024 15:33:04 +0000 Subject: [PATCH 5/5] Add subscriptions filtering function for EQ --- .../resolvers/subscriptions/where/utils/get-filtering-fn.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/graphql/src/schema/resolvers/subscriptions/where/utils/get-filtering-fn.ts b/packages/graphql/src/schema/resolvers/subscriptions/where/utils/get-filtering-fn.ts index eb8a9f6395..8ac5a6ab76 100644 --- a/packages/graphql/src/schema/resolvers/subscriptions/where/utils/get-filtering-fn.ts +++ b/packages/graphql/src/schema/resolvers/subscriptions/where/utils/get-filtering-fn.ts @@ -22,6 +22,7 @@ import type { AttributeAdapter } from "../../../../../schema-model/attribute/mod type ComparatorFn = (received: T, filtered: T, fieldMeta?: AttributeAdapter | undefined) => boolean; const operatorCheckMap = { + EQ: (received: string, filtered: string) => received == filtered, NOT: (received: string, filtered: string) => received !== filtered, LT: (received: number | string, filtered: number) => { const parsed = typeof received === "string" ? BigInt(received) : received;