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. diff --git a/packages/graphql/src/schema/constants.ts b/packages/graphql/src/schema/constants.ts index 8341b69e05..4b30cdb7d5 100644 --- a/packages/graphql/src/schema/constants.ts +++ b/packages/graphql/src/schema/constants.ts @@ -17,18 +17,4 @@ * limitations under the License. */ -import { DEPRECATED } from "../constants"; - -export const DEPRECATE_IMPLICIT_EQUAL_FILTERS = { - name: DEPRECATED, - args: { - reason: "Please use the explicit _EQ version", - }, -}; - -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", - }, -}; +// TODO: Add constant deprecations here 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/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; 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 7d0f4af598..f5c10fb5e4 100644 --- a/packages/graphql/src/types/index.ts +++ b/packages/graphql/src/types/index.ts @@ -446,9 +446,7 @@ export type Neo4jFeaturesSettings = { * * NOTE: this will not remove user defined deprecated fields **/ - excludeDeprecatedFields?: { - implicitEqualFilters?: boolean; - }; + excludeDeprecatedFields?: Record; 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 f6c7a3b78e..5ebb1f0fd3 100644 --- a/packages/graphql/tests/schema/aggregations.test.ts +++ b/packages/graphql/tests/schema/aggregations.test.ts @@ -225,75 +225,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 @@ -694,68 +683,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 @@ -829,7 +808,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 @@ -1120,7 +1098,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 @@ -1274,68 +1251,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 534f4bb8d4..985e3ce90e 100644 --- a/packages/graphql/tests/schema/array-methods.test.ts +++ b/packages/graphql/tests/schema/array-methods.test.ts @@ -77,7 +77,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 } @@ -93,7 +92,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 @@ -285,7 +283,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 @@ -359,7 +356,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 @@ -538,20 +534,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 c9c2a69a07..04562a9dcd 100644 --- a/packages/graphql/tests/schema/arrays.test.ts +++ b/packages/graphql/tests/schema/arrays.test.ts @@ -120,20 +120,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 3a2c8293db..863bbdf050 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 @@ -258,13 +257,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 @@ -365,7 +362,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 @@ -492,13 +488,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 a920a8899a..77fbed82fe 100644 --- a/packages/graphql/tests/schema/comments.test.ts +++ b/packages/graphql/tests/schema/comments.test.ts @@ -184,33 +184,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 } @@ -324,7 +318,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 @@ -390,7 +383,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 @@ -536,7 +528,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 @@ -698,7 +689,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 @@ -719,7 +709,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 @@ -886,7 +875,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 @@ -978,14 +966,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 @@ -1062,7 +1048,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 @@ -1138,14 +1123,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 @@ -1279,7 +1262,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 @@ -1478,7 +1460,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 4775ad8103..bccef6e895 100644 --- a/packages/graphql/tests/schema/connections/enums.test.ts +++ b/packages/graphql/tests/schema/connections/enums.test.ts @@ -78,7 +78,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!] } @@ -134,7 +133,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 @@ -270,7 +268,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 @@ -330,7 +327,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 @@ -497,7 +493,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 922db7d874..fc4433082f 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 @@ -224,7 +223,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 @@ -299,7 +297,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 @@ -409,13 +406,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 @@ -485,7 +480,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 @@ -572,7 +566,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 @@ -615,7 +608,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 @@ -757,7 +749,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 @@ -836,7 +827,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 @@ -950,20 +940,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 26e4f34b91..409a950ed1 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 @@ -203,7 +202,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 @@ -290,7 +288,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 60d2308353..a669459ee7 100644 --- a/packages/graphql/tests/schema/connections/unions.test.ts +++ b/packages/graphql/tests/schema/connections/unions.test.ts @@ -250,7 +250,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 @@ -308,7 +307,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 @@ -485,7 +483,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 @@ -553,7 +550,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 @@ -730,7 +726,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 @@ -876,7 +871,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 cb1f58cbb4..6eee69b406 100644 --- a/packages/graphql/tests/schema/custom-mutations.test.ts +++ b/packages/graphql/tests/schema/custom-mutations.test.ts @@ -121,7 +121,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 a1b8e0e87e..066265b7fb 100644 --- a/packages/graphql/tests/schema/directive-preserve.test.ts +++ b/packages/graphql/tests/schema/directive-preserve.test.ts @@ -105,7 +105,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 @@ -273,7 +272,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 @@ -443,7 +441,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 @@ -521,7 +518,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 @@ -661,20 +657,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 @@ -845,7 +838,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 @@ -864,7 +856,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 @@ -1046,7 +1037,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 @@ -1124,7 +1114,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 @@ -1251,14 +1240,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 @@ -1302,7 +1289,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 @@ -1517,7 +1503,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 @@ -1573,7 +1558,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 @@ -1706,14 +1690,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 @@ -1857,7 +1839,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 @@ -1876,7 +1857,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 @@ -2055,7 +2035,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 @@ -2133,7 +2112,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 @@ -2295,14 +2273,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 @@ -2380,7 +2356,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 @@ -2436,7 +2411,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 @@ -2604,14 +2578,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 @@ -2743,7 +2715,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 @@ -2762,7 +2733,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 @@ -2941,7 +2911,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 @@ -3019,7 +2988,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 @@ -3181,14 +3149,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 @@ -3266,7 +3232,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 @@ -3322,7 +3287,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 @@ -3490,14 +3454,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 @@ -3626,7 +3588,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 @@ -3753,7 +3714,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 @@ -3862,7 +3822,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\\") @@ -4108,7 +4067,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 9cb42b339b..4b65fdc3e1 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 @@ -226,13 +225,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 @@ -341,13 +338,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 @@ -447,14 +442,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 4b095b36c8..aac8a7e58e 100644 --- a/packages/graphql/tests/schema/directives/autogenerate.test.ts +++ b/packages/graphql/tests/schema/directives/autogenerate.test.ts @@ -101,13 +101,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 30dda33e22..3308bfef31 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 @@ -220,19 +219,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 daba286f44..46150a2310 100644 --- a/packages/graphql/tests/schema/directives/cypher.test.ts +++ b/packages/graphql/tests/schema/directives/cypher.test.ts @@ -165,7 +165,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 @@ -334,16 +333,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 @@ -351,62 +347,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 @@ -414,64 +401,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 } @@ -639,7 +609,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 } @@ -890,7 +859,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 @@ -987,7 +955,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 @@ -1139,7 +1106,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 @@ -1403,7 +1369,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 @@ -1616,13 +1581,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 @@ -1702,7 +1665,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 @@ -1871,7 +1833,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 @@ -1894,13 +1855,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 9df3dd9105..50a86477c6 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 @@ -292,49 +290,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 41712c14c0..e005eda61c 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 @@ -1099,13 +1096,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 @@ -1174,7 +1169,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 @@ -1336,7 +1330,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 @@ -1385,7 +1378,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 @@ -1568,7 +1560,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 @@ -1669,13 +1660,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 @@ -1725,13 +1714,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 @@ -1800,7 +1787,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 @@ -1962,7 +1948,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 @@ -2011,7 +1996,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 @@ -2194,7 +2178,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 @@ -2295,13 +2278,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 @@ -2351,13 +2332,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 @@ -2426,7 +2405,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 @@ -2805,7 +2783,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 @@ -2906,13 +2883,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 @@ -2962,13 +2937,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 @@ -3150,7 +3123,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 @@ -3198,7 +3170,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 @@ -3383,7 +3354,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 @@ -3484,13 +3454,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 @@ -3540,13 +3508,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 @@ -3615,7 +3581,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 @@ -3777,7 +3742,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 @@ -3826,7 +3790,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 @@ -4011,7 +3974,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 @@ -4112,13 +4074,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 @@ -4168,13 +4128,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 @@ -4243,7 +4201,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 @@ -4405,7 +4362,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 @@ -4430,7 +4386,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 @@ -4615,7 +4570,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 @@ -4716,13 +4670,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 @@ -4772,13 +4724,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 @@ -4960,7 +4910,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 @@ -5008,7 +4957,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 @@ -5186,7 +5134,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 @@ -5287,13 +5234,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 @@ -5343,13 +5288,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 @@ -5527,7 +5470,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 @@ -5575,7 +5517,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 @@ -5654,7 +5595,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 @@ -5812,7 +5752,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 @@ -5913,13 +5852,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 @@ -5969,13 +5906,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 @@ -6034,7 +5969,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 @@ -6187,7 +6121,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 @@ -6236,7 +6169,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 @@ -6315,7 +6247,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 @@ -6473,7 +6404,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 @@ -6574,13 +6504,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 @@ -6630,13 +6558,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 @@ -6814,7 +6740,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 @@ -6862,7 +6787,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 @@ -6941,7 +6865,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 @@ -7115,7 +7038,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 @@ -7216,13 +7138,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 @@ -7272,13 +7192,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 @@ -7363,7 +7281,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 @@ -7464,13 +7381,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 @@ -7520,13 +7435,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 @@ -7772,7 +7685,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 @@ -7820,7 +7732,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 @@ -8036,7 +7947,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 @@ -8137,13 +8047,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 @@ -8193,13 +8101,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 @@ -8284,7 +8190,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 @@ -8385,13 +8290,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 @@ -8441,13 +8344,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 @@ -8693,7 +8594,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 @@ -8741,7 +8641,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 @@ -8957,7 +8856,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 @@ -9058,13 +8956,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 @@ -9114,13 +9010,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 @@ -9205,7 +9099,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 @@ -9306,13 +9199,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 @@ -9362,13 +9253,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 @@ -9614,7 +9503,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 @@ -9662,7 +9550,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 6146dff8f1..bc1914f8c6 100644 --- a/packages/graphql/tests/schema/directives/plural.test.ts +++ b/packages/graphql/tests/schema/directives/plural.test.ts @@ -134,13 +134,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 @@ -282,13 +280,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 @@ -430,13 +426,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 @@ -579,7 +573,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 @@ -731,7 +724,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 @@ -862,7 +854,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 @@ -1005,7 +996,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 fd6fc86b4e..ca4a44b421 100644 --- a/packages/graphql/tests/schema/directives/populatedBy.test.ts +++ b/packages/graphql/tests/schema/directives/populatedBy.test.ts @@ -232,25 +232,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 @@ -428,28 +424,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 @@ -750,7 +742,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 @@ -816,7 +807,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 @@ -945,7 +935,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 @@ -1078,25 +1067,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 @@ -1246,7 +1231,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 @@ -1319,7 +1303,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 @@ -1448,7 +1431,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 @@ -1598,28 +1580,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 5491d4e4e6..799b7cb365 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 @@ -194,7 +193,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 @@ -359,7 +357,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 @@ -391,13 +388,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 09846af679..e9d1b208ec 100644 --- a/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts +++ b/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts @@ -269,13 +269,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 @@ -325,7 +323,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 @@ -486,7 +483,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 @@ -625,13 +621,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 @@ -692,7 +686,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 @@ -853,7 +846,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 @@ -994,13 +986,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 @@ -1050,7 +1040,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 @@ -1211,7 +1200,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 @@ -1293,14 +1281,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 @@ -1419,13 +1405,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 @@ -1476,7 +1460,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 @@ -1647,7 +1630,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 @@ -1729,14 +1711,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 @@ -1863,13 +1843,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 @@ -2099,7 +2077,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 @@ -2176,7 +2153,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 @@ -2306,13 +2282,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 @@ -2542,7 +2516,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 @@ -2619,7 +2592,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 37da8f80b5..1dcf7c8c8a 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 @@ -207,7 +206,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 @@ -277,7 +275,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 @@ -391,7 +388,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 @@ -521,7 +517,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 @@ -591,7 +586,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 @@ -705,7 +699,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 @@ -835,7 +828,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 @@ -909,7 +901,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 @@ -1023,7 +1014,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 @@ -1148,7 +1138,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 @@ -1218,7 +1207,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 @@ -1332,7 +1320,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 @@ -1461,7 +1448,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 @@ -1531,7 +1517,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 @@ -1645,7 +1630,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 @@ -1770,7 +1754,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 @@ -1840,7 +1823,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 @@ -1955,7 +1937,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 @@ -2070,7 +2051,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 @@ -2140,7 +2120,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 @@ -2256,7 +2235,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 @@ -2382,7 +2360,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 @@ -2455,13 +2432,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 @@ -2579,7 +2554,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 @@ -2706,7 +2680,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 @@ -2809,7 +2782,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 @@ -2908,7 +2880,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 @@ -3026,7 +2997,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 @@ -3128,7 +3098,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 @@ -3231,7 +3200,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 @@ -3326,7 +3294,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 @@ -3536,7 +3503,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 @@ -3605,7 +3571,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 @@ -3652,7 +3617,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 @@ -3913,7 +3877,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 @@ -3982,7 +3945,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 @@ -4029,7 +3991,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 @@ -4290,7 +4251,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 @@ -4363,7 +4323,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 @@ -4414,7 +4373,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 @@ -4661,7 +4619,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 @@ -4730,7 +4687,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 @@ -4777,7 +4733,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 @@ -5033,7 +4988,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 @@ -5102,7 +5056,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 @@ -5149,7 +5102,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 @@ -5396,7 +5348,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 @@ -5465,7 +5416,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 @@ -5512,7 +5462,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 @@ -5736,7 +5685,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 @@ -5805,7 +5753,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 @@ -5852,7 +5799,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 @@ -6078,7 +6024,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 @@ -6150,13 +6095,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 @@ -6206,13 +6149,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 @@ -6581,7 +6522,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 @@ -6678,7 +6618,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 @@ -6729,7 +6668,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 @@ -7047,7 +6985,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 @@ -7140,7 +7077,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 @@ -7187,7 +7123,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 @@ -7342,7 +7277,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 @@ -7457,7 +7391,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 @@ -7554,13 +7487,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 } @@ -7611,7 +7542,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 @@ -7629,7 +7559,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 @@ -7769,7 +7698,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 @@ -7899,7 +7827,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 @@ -8001,13 +7928,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 } @@ -8058,7 +7983,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 @@ -8076,7 +8000,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 @@ -8216,7 +8139,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 @@ -8346,7 +8268,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 @@ -8447,13 +8368,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 } @@ -8504,7 +8423,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 @@ -8522,7 +8440,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 @@ -8662,7 +8579,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 @@ -8787,7 +8703,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 @@ -8884,13 +8799,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 } @@ -8941,7 +8854,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 @@ -8963,7 +8875,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 @@ -9103,7 +9014,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 @@ -9232,7 +9142,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 @@ -9329,13 +9238,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 } @@ -9386,7 +9293,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 @@ -9404,7 +9310,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 @@ -9544,7 +9449,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 @@ -9669,7 +9573,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 @@ -9766,13 +9669,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 } @@ -9823,7 +9724,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 @@ -9841,7 +9741,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 @@ -9985,7 +9884,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 @@ -10112,7 +10010,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 @@ -10215,7 +10112,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 @@ -10346,13 +10242,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 } @@ -10403,7 +10297,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 @@ -10425,7 +10318,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 @@ -10570,7 +10462,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 @@ -10681,7 +10572,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 @@ -10784,7 +10674,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 @@ -10911,13 +10800,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 } @@ -10968,7 +10855,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 @@ -10986,7 +10872,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 1ee377a588..feab88944d 100644 --- a/packages/graphql/tests/schema/directives/relationship-properties.test.ts +++ b/packages/graphql/tests/schema/directives/relationship-properties.test.ts @@ -111,16 +111,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 @@ -185,7 +182,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 @@ -322,7 +318,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 @@ -397,7 +392,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 @@ -565,7 +559,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 @@ -744,20 +737,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 @@ -824,7 +814,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 @@ -961,7 +950,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 @@ -1048,7 +1036,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 @@ -1216,7 +1203,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 @@ -1362,13 +1348,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 @@ -1434,7 +1418,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 @@ -1568,7 +1551,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 @@ -1647,7 +1629,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 @@ -1812,7 +1793,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 006bd0ae96..5fb2d7b762 100644 --- a/packages/graphql/tests/schema/directives/relationship.test.ts +++ b/packages/graphql/tests/schema/directives/relationship.test.ts @@ -80,7 +80,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 @@ -145,7 +144,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 @@ -291,7 +289,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 @@ -438,7 +435,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 @@ -563,7 +559,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 @@ -628,7 +623,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 @@ -789,7 +783,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 50160fbbc0..404066d319 100644 --- a/packages/graphql/tests/schema/directives/selectable.test.ts +++ b/packages/graphql/tests/schema/directives/selectable.test.ts @@ -97,13 +97,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 @@ -240,13 +238,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 @@ -382,13 +378,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 @@ -545,13 +539,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 @@ -575,13 +567,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 @@ -683,7 +673,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 @@ -839,7 +828,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 @@ -921,13 +909,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 @@ -1034,7 +1020,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 @@ -1205,7 +1190,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 @@ -1287,13 +1271,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 @@ -1564,7 +1546,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 @@ -1651,13 +1632,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 @@ -1759,13 +1738,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 @@ -2019,7 +1996,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 @@ -2106,13 +2082,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 @@ -2214,13 +2188,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 @@ -2311,7 +2283,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 @@ -2467,7 +2438,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 @@ -2550,13 +2520,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 @@ -2637,13 +2605,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 @@ -2717,13 +2683,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 @@ -2813,7 +2777,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 @@ -2984,7 +2947,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 @@ -3067,13 +3029,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 @@ -3154,13 +3114,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 @@ -3234,13 +3192,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 4b3dc2b14a..61178399d6 100644 --- a/packages/graphql/tests/schema/directives/settable.test.ts +++ b/packages/graphql/tests/schema/directives/settable.test.ts @@ -97,13 +97,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 @@ -240,13 +238,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 @@ -404,13 +400,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 @@ -433,13 +427,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 @@ -543,7 +535,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 @@ -708,7 +699,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 @@ -790,13 +780,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 @@ -904,7 +892,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 @@ -1057,7 +1044,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 @@ -1139,13 +1125,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 @@ -1252,7 +1236,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 @@ -1424,7 +1407,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 @@ -1485,7 +1467,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 @@ -1650,13 +1631,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 @@ -1763,7 +1742,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 @@ -1943,7 +1921,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 @@ -2004,7 +1981,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 @@ -2169,13 +2145,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 @@ -2442,7 +2416,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 @@ -2529,13 +2502,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 @@ -2637,13 +2608,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 @@ -2858,7 +2827,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 @@ -2945,13 +2913,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 @@ -3053,13 +3019,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 @@ -3306,7 +3270,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 @@ -3372,7 +3335,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 @@ -3537,13 +3499,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 @@ -3645,13 +3605,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 @@ -3914,7 +3872,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 @@ -3980,7 +3937,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 @@ -4145,13 +4101,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 @@ -4253,13 +4207,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 @@ -4352,7 +4304,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 @@ -4517,7 +4468,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 @@ -4600,13 +4550,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 @@ -4687,13 +4635,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 @@ -4767,13 +4713,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 @@ -4864,7 +4808,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 @@ -5017,7 +4960,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 @@ -5100,13 +5042,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 @@ -5182,13 +5122,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 @@ -5262,13 +5200,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 @@ -5360,7 +5296,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 @@ -5532,7 +5467,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 @@ -5598,7 +5532,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 @@ -5719,13 +5652,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 @@ -5770,7 +5701,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 @@ -5911,13 +5841,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 @@ -5968,7 +5896,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 @@ -6095,13 +6022,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 @@ -6193,7 +6118,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 @@ -6373,7 +6297,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 @@ -6439,7 +6362,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 @@ -6560,13 +6482,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 @@ -6611,7 +6531,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 @@ -6775,13 +6694,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 @@ -6832,7 +6749,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 @@ -6959,13 +6875,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 e88abaf776..3045510210 100644 --- a/packages/graphql/tests/schema/directives/timestamps.test.ts +++ b/packages/graphql/tests/schema/directives/timestamps.test.ts @@ -115,20 +115,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 b9c7d3e68f..f49b964daa 100644 --- a/packages/graphql/tests/schema/enum.test.ts +++ b/packages/graphql/tests/schema/enum.test.ts @@ -97,7 +97,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 acaa8d26c5..218b68aaf0 100644 --- a/packages/graphql/tests/schema/extend.test.ts +++ b/packages/graphql/tests/schema/extend.test.ts @@ -106,13 +106,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 4d5b4c5fc1..f86671dc14 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 @@ -271,7 +270,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 @@ -379,7 +377,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 @@ -484,7 +481,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 @@ -650,7 +646,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 @@ -778,7 +773,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 @@ -873,7 +867,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 0e7d721106..864b94a3f4 100644 --- a/packages/graphql/tests/schema/fulltext.test.ts +++ b/packages/graphql/tests/schema/fulltext.test.ts @@ -130,13 +130,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 2781da3952..944634cce0 100644 --- a/packages/graphql/tests/schema/global-node.test.ts +++ b/packages/graphql/tests/schema/global-node.test.ts @@ -105,13 +105,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 c44586d112..d50e72aff3 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 @@ -214,7 +213,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 @@ -301,7 +299,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 @@ -377,7 +374,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 @@ -555,7 +551,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 b979ce5d11..c69e92e60f 100644 --- a/packages/graphql/tests/schema/inputs.test.ts +++ b/packages/graphql/tests/schema/inputs.test.ts @@ -105,7 +105,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 6c41024a82..905d8985ca 100644 --- a/packages/graphql/tests/schema/interface-relationships.test.ts +++ b/packages/graphql/tests/schema/interface-relationships.test.ts @@ -109,7 +109,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 @@ -129,7 +128,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 @@ -296,7 +294,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 @@ -388,14 +385,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 @@ -472,7 +467,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 @@ -548,14 +542,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 @@ -700,7 +692,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 @@ -720,7 +711,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 @@ -902,7 +892,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 @@ -994,7 +983,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 @@ -1131,7 +1119,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 @@ -1182,7 +1169,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 @@ -1309,14 +1295,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 @@ -1363,7 +1347,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 @@ -1578,7 +1561,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 @@ -1640,7 +1622,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 @@ -1757,7 +1738,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 @@ -1897,7 +1877,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 @@ -1929,7 +1908,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 @@ -2082,7 +2060,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 @@ -2102,7 +2079,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 @@ -2284,7 +2260,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 @@ -2376,7 +2351,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 @@ -2513,7 +2487,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 @@ -2564,7 +2537,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 @@ -2691,14 +2663,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 @@ -2745,7 +2715,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 @@ -2980,7 +2949,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 @@ -3042,7 +3010,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 @@ -3159,7 +3126,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 @@ -3299,7 +3265,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 @@ -3331,7 +3296,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 @@ -3399,7 +3363,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 @@ -3576,7 +3539,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 @@ -3673,7 +3635,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 @@ -3764,7 +3725,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 @@ -3879,7 +3839,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 @@ -3961,7 +3920,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 @@ -4089,7 +4047,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 @@ -4169,7 +4126,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 @@ -4199,7 +4155,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 @@ -4268,7 +4223,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 @@ -4357,7 +4311,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 @@ -4437,7 +4390,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 @@ -4635,7 +4587,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 @@ -4786,7 +4737,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 @@ -4877,7 +4827,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 @@ -4971,7 +4920,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 @@ -5054,7 +5002,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 @@ -5136,7 +5083,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 @@ -5273,7 +5219,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 @@ -5353,7 +5298,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 @@ -5383,7 +5327,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 @@ -5452,7 +5395,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 @@ -5550,7 +5492,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 @@ -5630,7 +5571,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 @@ -5834,7 +5774,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 @@ -6005,7 +5944,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 @@ -6096,7 +6034,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 @@ -6211,7 +6148,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 @@ -6293,7 +6229,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 @@ -6430,7 +6365,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 @@ -6510,7 +6444,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 @@ -6576,7 +6509,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 @@ -6601,7 +6533,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 @@ -6670,7 +6601,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 @@ -6768,7 +6698,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 @@ -6848,7 +6777,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 @@ -6914,7 +6842,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 @@ -7040,7 +6967,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 @@ -7126,7 +7052,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 @@ -7264,7 +7189,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 @@ -7273,7 +7197,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 @@ -7320,7 +7243,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 @@ -7450,7 +7372,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 @@ -7459,7 +7380,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 @@ -7561,7 +7481,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 @@ -7680,7 +7599,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 @@ -7816,7 +7734,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 @@ -7825,7 +7742,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 @@ -7918,7 +7834,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 @@ -8089,13 +8004,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 @@ -8211,7 +8124,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 @@ -8231,7 +8143,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 @@ -8413,7 +8324,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 @@ -8491,7 +8401,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 @@ -8618,14 +8527,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 @@ -8690,7 +8597,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 @@ -8749,7 +8655,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 @@ -8882,14 +8787,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 @@ -8907,7 +8810,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 @@ -9142,7 +9044,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 @@ -9217,7 +9118,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 c6d594e689..ce89edf5ea 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 @@ -334,7 +331,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 @@ -534,7 +530,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 @@ -611,7 +606,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 @@ -679,7 +673,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 @@ -735,7 +728,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 1273b3db39..7612cca2cc 100644 --- a/packages/graphql/tests/schema/issues/1038.test.ts +++ b/packages/graphql/tests/schema/issues/1038.test.ts @@ -82,13 +82,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 @@ -158,13 +156,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 59719ed2c7..dc55b6dad0 100644 --- a/packages/graphql/tests/schema/issues/1182.test.ts +++ b/packages/graphql/tests/schema/issues/1182.test.ts @@ -96,14 +96,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 @@ -111,13 +109,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 @@ -193,7 +189,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 @@ -361,13 +356,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 76cfb2c4e9..cc6a32b205 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 @@ -248,7 +247,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] } @@ -298,7 +296,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 d1b33c947a..e15131d3c7 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 @@ -425,7 +423,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 @@ -467,7 +464,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 @@ -501,7 +497,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 abadc5b3d9..3715f9340f 100644 --- a/packages/graphql/tests/schema/issues/200.test.ts +++ b/packages/graphql/tests/schema/issues/200.test.ts @@ -93,22 +93,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 89ecf0f827..98f4fc218f 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 @@ -304,7 +303,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 @@ -382,7 +380,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 @@ -522,20 +519,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 6f716e7687..79817639c9 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!] @@ -467,38 +461,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 07346433ed..53a3fd5889 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 @@ -263,7 +262,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 @@ -373,7 +371,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 @@ -480,13 +477,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 3533b963e6..2c674ffd4f 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 @@ -294,7 +293,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 @@ -318,7 +316,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 @@ -477,7 +474,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 @@ -624,13 +620,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 086641a07d..089a26e5a3 100644 --- a/packages/graphql/tests/schema/issues/2993.test.ts +++ b/packages/graphql/tests/schema/issues/2993.test.ts @@ -115,7 +115,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 @@ -188,14 +187,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 @@ -278,7 +275,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 @@ -436,13 +432,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 b55867a57b..7b7e4345ec 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 @@ -212,7 +211,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 @@ -285,13 +283,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 @@ -494,7 +490,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 @@ -563,7 +558,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 @@ -610,7 +604,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 2273aab628..180aa53c31 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 @@ -316,7 +314,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 @@ -385,7 +382,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 @@ -448,13 +444,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 @@ -519,7 +513,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 @@ -629,13 +622,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 @@ -663,13 +654,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 @@ -777,7 +766,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 @@ -887,13 +875,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 @@ -921,13 +907,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 @@ -1138,7 +1122,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 @@ -1250,7 +1233,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 @@ -1274,7 +1256,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 @@ -1361,13 +1342,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 @@ -1432,7 +1411,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 @@ -1542,13 +1520,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 @@ -1576,13 +1552,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 @@ -1687,7 +1661,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 @@ -1797,13 +1770,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 @@ -1831,13 +1802,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 @@ -2056,7 +2025,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 @@ -2171,7 +2139,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 @@ -2195,7 +2162,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 @@ -2277,7 +2243,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 @@ -2461,13 +2426,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 @@ -2539,7 +2502,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 @@ -2666,7 +2628,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 @@ -2687,13 +2648,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 @@ -2721,13 +2680,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 @@ -2832,7 +2789,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 @@ -2959,7 +2915,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 @@ -2980,13 +2935,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 @@ -3014,13 +2967,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 @@ -3251,7 +3202,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 @@ -3366,7 +3316,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 @@ -3390,7 +3339,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 @@ -3674,13 +3622,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 @@ -3848,7 +3794,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 @@ -3869,13 +3814,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 @@ -3902,13 +3845,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 @@ -4032,7 +3973,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 @@ -4147,7 +4087,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 @@ -4174,7 +4113,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 @@ -4366,7 +4304,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 @@ -4387,13 +4324,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 @@ -4420,13 +4355,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 3b9aab907b..4368c29157 100644 --- a/packages/graphql/tests/schema/issues/3537.test.ts +++ b/packages/graphql/tests/schema/issues/3537.test.ts @@ -101,13 +101,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 @@ -175,7 +173,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 @@ -337,13 +334,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 @@ -382,7 +377,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 @@ -534,13 +528,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 @@ -564,13 +556,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 @@ -651,7 +641,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 @@ -674,7 +663,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 7e1784aea1..a6a8e842b0 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 @@ -374,7 +371,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 @@ -435,7 +431,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 @@ -566,13 +561,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 ff702329df..6d33b89ab4 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 @@ -325,7 +323,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 @@ -414,19 +411,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 @@ -492,7 +486,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 @@ -602,13 +595,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 @@ -636,13 +627,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 @@ -878,7 +867,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 @@ -1008,7 +996,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 @@ -1032,7 +1019,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 @@ -1115,7 +1101,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 @@ -1226,19 +1211,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 @@ -1304,7 +1286,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 @@ -1382,13 +1363,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 @@ -1416,13 +1395,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 @@ -1671,7 +1648,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 @@ -1801,7 +1777,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 @@ -1825,7 +1800,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 @@ -1909,7 +1883,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 @@ -2021,19 +1994,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 @@ -2099,7 +2069,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 @@ -2177,13 +2146,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 @@ -2211,13 +2178,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 @@ -2326,7 +2291,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 @@ -2405,19 +2369,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 @@ -2446,19 +2407,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 a3eb534de7..62205a07bd 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 @@ -251,7 +250,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 @@ -303,7 +301,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 @@ -403,7 +400,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 @@ -565,7 +561,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 @@ -692,7 +687,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 @@ -735,7 +729,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 @@ -814,7 +807,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 5594a0b6f7..0bf69b6dc9 100644 --- a/packages/graphql/tests/schema/issues/3817.test.ts +++ b/packages/graphql/tests/schema/issues/3817.test.ts @@ -123,7 +123,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 @@ -197,7 +196,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 @@ -340,7 +338,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 810e3fb3c0..f8772d70b9 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 @@ -359,13 +357,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 @@ -442,7 +438,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 @@ -563,7 +558,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 @@ -654,7 +648,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 @@ -740,7 +733,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 @@ -809,20 +801,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 @@ -853,20 +842,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 839c6e6a20..497b25ac69 100644 --- a/packages/graphql/tests/schema/issues/4615.test.ts +++ b/packages/graphql/tests/schema/issues/4615.test.ts @@ -117,7 +117,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 @@ -137,7 +136,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 @@ -319,7 +317,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 @@ -406,7 +403,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 @@ -537,21 +533,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 @@ -626,7 +619,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 @@ -759,14 +751,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 @@ -784,7 +774,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 @@ -999,7 +988,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 2bd869b3b8..69418bac10 100644 --- a/packages/graphql/tests/schema/issues/5428.test.ts +++ b/packages/graphql/tests/schema/issues/5428.test.ts @@ -132,7 +132,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 245a5d50f8..849ae89590 100644 --- a/packages/graphql/tests/schema/issues/609.test.ts +++ b/packages/graphql/tests/schema/issues/609.test.ts @@ -92,7 +92,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 2ed2f1a8b5..a14f862105 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 @@ -233,7 +232,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 @@ -280,7 +278,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 @@ -417,7 +414,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 @@ -507,13 +503,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 6e1e2a4278..e531cc339c 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 @@ -366,7 +365,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 @@ -398,13 +396,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 @@ -439,7 +435,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 @@ -644,26 +639,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 3b97d5d709..b702bc1e04 100644 --- a/packages/graphql/tests/schema/math.test.ts +++ b/packages/graphql/tests/schema/math.test.ts @@ -111,13 +111,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 @@ -270,13 +268,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 @@ -427,13 +423,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 @@ -573,7 +567,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 @@ -737,7 +730,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 @@ -799,7 +791,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 @@ -929,13 +920,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 @@ -1132,13 +1121,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 @@ -1176,7 +1163,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 @@ -1357,7 +1343,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 @@ -1394,7 +1379,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 @@ -1529,7 +1513,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 @@ -1678,14 +1661,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 } @@ -1734,7 +1715,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 @@ -1916,7 +1896,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 @@ -1964,7 +1943,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 @@ -2146,7 +2124,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 8b3b0de438..4f50909dbb 100644 --- a/packages/graphql/tests/schema/nested-aggregation-on-type.test.ts +++ b/packages/graphql/tests/schema/nested-aggregation-on-type.test.ts @@ -82,7 +82,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 @@ -102,7 +101,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 @@ -311,7 +309,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 @@ -418,21 +415,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 b4bdada2d2..e92f51e31c 100644 --- a/packages/graphql/tests/schema/null.test.ts +++ b/packages/graphql/tests/schema/null.test.ts @@ -196,37 +196,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 @@ -234,27 +227,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 193f4b0948..8d53c55588 100644 --- a/packages/graphql/tests/schema/pluralize-consistency.test.ts +++ b/packages/graphql/tests/schema/pluralize-consistency.test.ts @@ -177,7 +177,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 @@ -215,7 +214,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 @@ -350,7 +348,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 16d572158c..5c61839a79 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 @@ -289,7 +288,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 @@ -432,7 +430,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 @@ -571,7 +568,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 01b7c28dae..e835c1aaec 100644 --- a/packages/graphql/tests/schema/remove-deprecated/array-methods.test.ts +++ b/packages/graphql/tests/schema/remove-deprecated/array-methods.test.ts @@ -79,7 +79,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 } @@ -95,7 +94,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 @@ -540,20 +536,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 efda67b5e0..01e6a0ddce 100644 --- a/packages/graphql/tests/schema/remove-deprecated/comments.test.ts +++ b/packages/graphql/tests/schema/remove-deprecated/comments.test.ts @@ -186,33 +186,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 } @@ -328,7 +322,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 @@ -394,7 +387,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 @@ -540,7 +532,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 @@ -704,7 +695,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 @@ -725,7 +715,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 @@ -892,7 +881,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 @@ -984,14 +972,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 @@ -1068,7 +1054,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 @@ -1144,14 +1129,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 @@ -1287,7 +1270,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 @@ -1486,7 +1468,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 b57967bda7..0000000000 --- a/packages/graphql/tests/schema/remove-deprecated/implicit-equality.test.ts +++ /dev/null @@ -1,610 +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_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_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_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/scalar.test.ts b/packages/graphql/tests/schema/scalar.test.ts index f15c90a70a..c8764ea786 100644 --- a/packages/graphql/tests/schema/scalar.test.ts +++ b/packages/graphql/tests/schema/scalar.test.ts @@ -114,19 +114,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 078b762935..69654c4ac7 100644 --- a/packages/graphql/tests/schema/simple.test.ts +++ b/packages/graphql/tests/schema/simple.test.ts @@ -134,27 +134,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 fc64253925..801e29052b 100644 --- a/packages/graphql/tests/schema/string-comparators.test.ts +++ b/packages/graphql/tests/schema/string-comparators.test.ts @@ -104,7 +104,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 @@ -243,7 +242,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 @@ -387,7 +385,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 @@ -537,7 +534,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 @@ -560,7 +556,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 @@ -742,7 +737,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 @@ -811,7 +805,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 @@ -979,7 +972,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 af2fec92ab..1d15eb295e 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 @@ -125,7 +124,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 @@ -215,7 +213,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 @@ -358,27 +355,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 } @@ -407,7 +400,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 @@ -439,20 +431,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 } @@ -623,7 +612,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 @@ -864,7 +852,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 @@ -996,27 +983,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 } @@ -1045,7 +1028,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 @@ -1077,20 +1059,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 } @@ -1473,27 +1452,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 } @@ -1522,7 +1497,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 @@ -1553,20 +1527,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 } @@ -1662,7 +1633,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 @@ -1907,7 +1877,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 @@ -2203,7 +2172,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 @@ -2272,7 +2240,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 @@ -2518,7 +2485,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 @@ -2660,27 +2626,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 } @@ -2709,7 +2671,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 @@ -2741,20 +2702,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 } @@ -2907,7 +2865,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 @@ -2930,7 +2887,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 @@ -3020,7 +2976,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 @@ -3158,7 +3113,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 @@ -3190,20 +3144,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 } @@ -3357,7 +3308,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 @@ -3470,14 +3420,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 @@ -3514,14 +3462,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 @@ -3673,13 +3619,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 @@ -4003,27 +3947,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 } @@ -4052,7 +3992,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 @@ -4083,20 +4022,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 } @@ -4192,7 +4128,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 @@ -4427,7 +4362,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 @@ -4738,7 +4672,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 @@ -4897,7 +4830,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 @@ -4968,13 +4900,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 @@ -5051,7 +4981,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 @@ -5172,7 +5101,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 @@ -5263,7 +5191,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 @@ -5349,7 +5276,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 @@ -5418,20 +5344,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 @@ -5462,20 +5385,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 3ff2804956..b4f0fc5c37 100644 --- a/packages/graphql/tests/schema/types/bigint.test.ts +++ b/packages/graphql/tests/schema/types/bigint.test.ts @@ -112,13 +112,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 a80f042b78..224408cc5e 100644 --- a/packages/graphql/tests/schema/types/date.test.ts +++ b/packages/graphql/tests/schema/types/date.test.ts @@ -105,14 +105,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 2cae3dea0d..623a8058a1 100644 --- a/packages/graphql/tests/schema/types/datetime.test.ts +++ b/packages/graphql/tests/schema/types/datetime.test.ts @@ -111,14 +111,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 439bb109eb..fd09d971b7 100644 --- a/packages/graphql/tests/schema/types/duration.test.ts +++ b/packages/graphql/tests/schema/types/duration.test.ts @@ -111,14 +111,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 a100a15265..478439d85c 100644 --- a/packages/graphql/tests/schema/types/localdatetime.test.ts +++ b/packages/graphql/tests/schema/types/localdatetime.test.ts @@ -111,13 +111,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 ae8a3bc027..7a48f26eff 100644 --- a/packages/graphql/tests/schema/types/localtime.test.ts +++ b/packages/graphql/tests/schema/types/localtime.test.ts @@ -113,13 +113,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 3a64a2cbde..6a1de55194 100644 --- a/packages/graphql/tests/schema/types/point.test.ts +++ b/packages/graphql/tests/schema/types/point.test.ts @@ -91,7 +91,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 @@ -269,7 +268,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 @@ -393,7 +391,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 } @@ -540,7 +537,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 dea92e9af4..0912b5574d 100644 --- a/packages/graphql/tests/schema/types/time.test.ts +++ b/packages/graphql/tests/schema/types/time.test.ts @@ -103,13 +103,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 a1b08ee975..4705d9d374 100644 --- a/packages/graphql/tests/schema/union-interface-relationship.test.ts +++ b/packages/graphql/tests/schema/union-interface-relationship.test.ts @@ -133,7 +133,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 @@ -202,7 +201,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 @@ -338,7 +336,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 @@ -370,7 +367,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 @@ -446,7 +442,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 @@ -509,21 +504,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 @@ -576,7 +568,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 @@ -894,7 +885,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 @@ -1083,7 +1073,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 @@ -1115,7 +1104,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 @@ -1224,7 +1212,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 @@ -1368,7 +1355,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 @@ -1400,20 +1386,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 @@ -1494,7 +1477,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 @@ -1554,14 +1536,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 68ddcf1ff3..f6a937b147 100644 --- a/packages/graphql/tests/schema/unions.test.ts +++ b/packages/graphql/tests/schema/unions.test.ts @@ -109,7 +109,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 @@ -308,7 +307,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 1bdb871e87..d28798ded1 100644 --- a/packages/graphql/tests/schema/vector.test.ts +++ b/packages/graphql/tests/schema/vector.test.ts @@ -134,13 +134,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