From 7342feda553c018f869a0cef4a070409155766d2 Mon Sep 17 00:00:00 2001 From: a-alle Date: Fri, 29 Sep 2023 11:14:31 +0100 Subject: [PATCH] update type description for QueryOptions --- .../src/graphql/input-objects/QueryOptions.ts | 2 +- .../graphql/tests/schema/comments.test.ts | 2 +- .../schema/connect-or-create-unions.test.ts | 2 +- .../tests/schema/connections/unions.test.ts | 2 +- .../tests/schema/directive-preserve.test.ts | 2 +- .../schema/directives/filterable.test.ts | 6 +++--- .../directives/relationship-aggregate.test.ts | 4 ++-- .../relationship-nested-operations.test.ts | 20 +++++++++---------- .../schema/directives/selectable.test.ts | 2 +- .../tests/schema/directives/settable.test.ts | 8 ++++---- .../graphql/tests/schema/issues/2981.test.ts | 2 +- .../graphql/tests/schema/issues/3428.test.ts | 2 +- .../tests/schema/subscriptions.test.ts | 4 ++-- .../union-interface-relationship.test.ts | 2 +- packages/graphql/tests/schema/unions.test.ts | 2 +- 15 files changed, 31 insertions(+), 31 deletions(-) diff --git a/packages/graphql/src/graphql/input-objects/QueryOptions.ts b/packages/graphql/src/graphql/input-objects/QueryOptions.ts index 5c5f830864..5465833188 100644 --- a/packages/graphql/src/graphql/input-objects/QueryOptions.ts +++ b/packages/graphql/src/graphql/input-objects/QueryOptions.ts @@ -21,7 +21,7 @@ import { GraphQLInputObjectType, GraphQLInt } from "graphql"; export const QueryOptions = new GraphQLInputObjectType({ name: "QueryOptions", - description: "Input type for query options", + description: "Input type for options that can be specified on a query operation.", fields: { offset: { type: GraphQLInt, diff --git a/packages/graphql/tests/schema/comments.test.ts b/packages/graphql/tests/schema/comments.test.ts index f2b01f272c..2761906c7a 100644 --- a/packages/graphql/tests/schema/comments.test.ts +++ b/packages/graphql/tests/schema/comments.test.ts @@ -1633,7 +1633,7 @@ describe("Comments", () => { moviesConnection(after: String, first: Int, sort: [MovieSort], where: MovieWhere): MoviesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/connect-or-create-unions.test.ts b/packages/graphql/tests/schema/connect-or-create-unions.test.ts index d27e3fbcf7..eed061ee15 100644 --- a/packages/graphql/tests/schema/connect-or-create-unions.test.ts +++ b/packages/graphql/tests/schema/connect-or-create-unions.test.ts @@ -527,7 +527,7 @@ describe("Connect Or Create", () => { seriesConnection(after: String, first: Int, sort: [SeriesSort], where: SeriesWhere): SeriesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/connections/unions.test.ts b/packages/graphql/tests/schema/connections/unions.test.ts index ed244b4e6d..fdb346c428 100644 --- a/packages/graphql/tests/schema/connections/unions.test.ts +++ b/packages/graphql/tests/schema/connections/unions.test.ts @@ -955,7 +955,7 @@ describe("Unions", () => { journalsConnection(after: String, first: Int, sort: [JournalSort], where: JournalWhere): JournalsConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/directive-preserve.test.ts b/packages/graphql/tests/schema/directive-preserve.test.ts index 09d837fe08..b207cd377c 100644 --- a/packages/graphql/tests/schema/directive-preserve.test.ts +++ b/packages/graphql/tests/schema/directive-preserve.test.ts @@ -3226,7 +3226,7 @@ describe("Directive-preserve", () => { usersConnection(after: String, first: Int, sort: [UserSort], where: UserWhere): UsersConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/directives/filterable.test.ts b/packages/graphql/tests/schema/directives/filterable.test.ts index 66c7a7caae..8fac9bce81 100644 --- a/packages/graphql/tests/schema/directives/filterable.test.ts +++ b/packages/graphql/tests/schema/directives/filterable.test.ts @@ -10352,7 +10352,7 @@ describe("@filterable directive", () => { moviesConnection(after: String, first: Int, sort: [MovieSort], where: MovieWhere): MoviesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -11583,7 +11583,7 @@ describe("@filterable directive", () => { moviesConnection(after: String, first: Int, sort: [MovieSort], where: MovieWhere): MoviesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -12814,7 +12814,7 @@ describe("@filterable directive", () => { moviesConnection(after: String, first: Int, sort: [MovieSort], where: MovieWhere): MoviesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts b/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts index a865e14746..0219659619 100644 --- a/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts +++ b/packages/graphql/tests/schema/directives/relationship-aggregate.test.ts @@ -2437,7 +2437,7 @@ describe("@relationship directive, aggregate argument", () => { peopleConnection(after: String, first: Int, sort: [PersonSort], where: PersonWhere): PeopleConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -2959,7 +2959,7 @@ describe("@relationship directive, aggregate argument", () => { peopleConnection(after: String, first: Int, sort: [PersonSort], where: PersonWhere): PeopleConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int 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 9f72712b23..ba4aae0eac 100644 --- a/packages/graphql/tests/schema/directives/relationship-nested-operations.test.ts +++ b/packages/graphql/tests/schema/directives/relationship-nested-operations.test.ts @@ -4375,7 +4375,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -4804,7 +4804,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -5241,7 +5241,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -5647,7 +5647,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -6062,7 +6062,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -6477,7 +6477,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -6860,7 +6860,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -7357,7 +7357,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -7946,7 +7946,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -8461,7 +8461,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/directives/selectable.test.ts b/packages/graphql/tests/schema/directives/selectable.test.ts index e36426032c..d53f5baabb 100644 --- a/packages/graphql/tests/schema/directives/selectable.test.ts +++ b/packages/graphql/tests/schema/directives/selectable.test.ts @@ -2590,7 +2590,7 @@ describe("@selectable", () => { seriesConnection(after: String, first: Int, sort: [SeriesSort], where: SeriesWhere): SeriesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/directives/settable.test.ts b/packages/graphql/tests/schema/directives/settable.test.ts index 59da00a9b6..fca91ad047 100644 --- a/packages/graphql/tests/schema/directives/settable.test.ts +++ b/packages/graphql/tests/schema/directives/settable.test.ts @@ -3176,7 +3176,7 @@ describe("@settable", () => { seriesConnection(after: String, first: Int, sort: [SeriesSort], where: SeriesWhere): SeriesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -3683,7 +3683,7 @@ describe("@settable", () => { seriesConnection(after: String, first: Int, sort: [SeriesSort], where: SeriesWhere): SeriesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -4372,7 +4372,7 @@ describe("@settable", () => { seriesConnection(after: String, first: Int, sort: [SeriesSort], where: SeriesWhere): SeriesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -5077,7 +5077,7 @@ describe("@settable", () => { seriesConnection(after: String, first: Int, sort: [SeriesSort], where: SeriesWhere): SeriesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/issues/2981.test.ts b/packages/graphql/tests/schema/issues/2981.test.ts index 8c71369808..1977c66c05 100644 --- a/packages/graphql/tests/schema/issues/2981.test.ts +++ b/packages/graphql/tests/schema/issues/2981.test.ts @@ -865,7 +865,7 @@ describe("https://github.com/neo4j/graphql/issues/2981", () => { booksConnection(after: String, first: Int, sort: [BookSort], where: BookWhere): BooksConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/issues/3428.test.ts b/packages/graphql/tests/schema/issues/3428.test.ts index ac897a0d2a..9d19e82d68 100644 --- a/packages/graphql/tests/schema/issues/3428.test.ts +++ b/packages/graphql/tests/schema/issues/3428.test.ts @@ -731,7 +731,7 @@ describe("Relationship nested operations", () => { personTwosConnection(after: String, first: Int, sort: [PersonTwoSort], where: PersonTwoWhere): PersonTwosConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/subscriptions.test.ts b/packages/graphql/tests/schema/subscriptions.test.ts index 752f7a6efa..216c72157d 100644 --- a/packages/graphql/tests/schema/subscriptions.test.ts +++ b/packages/graphql/tests/schema/subscriptions.test.ts @@ -2219,7 +2219,7 @@ describe("Subscriptions", () => { starsConnection(after: String, first: Int, where: StarWhere): StarsConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int @@ -5367,7 +5367,7 @@ describe("Subscriptions", () => { starsConnection(after: String, first: Int, where: StarWhere): StarsConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/union-interface-relationship.test.ts b/packages/graphql/tests/schema/union-interface-relationship.test.ts index b28ec44f39..5ee958ae31 100644 --- a/packages/graphql/tests/schema/union-interface-relationship.test.ts +++ b/packages/graphql/tests/schema/union-interface-relationship.test.ts @@ -1726,7 +1726,7 @@ describe("Union Interface Relationships", () => { peopleConnection(after: String, first: Int, sort: [PersonSort], where: PersonWhere): PeopleConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int diff --git a/packages/graphql/tests/schema/unions.test.ts b/packages/graphql/tests/schema/unions.test.ts index 807dfdd280..229dd889b7 100644 --- a/packages/graphql/tests/schema/unions.test.ts +++ b/packages/graphql/tests/schema/unions.test.ts @@ -405,7 +405,7 @@ describe("Unions", () => { moviesConnection(after: String, first: Int, sort: [MovieSort], where: MovieWhere): MoviesConnection! } - \\"\\"\\"Input type for query options\\"\\"\\" + \\"\\"\\"Input type for options that can be specified on a query operation.\\"\\"\\" input QueryOptions { limit: Int offset: Int