Skip to content

Commit

Permalink
update type description for QueryOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
a-alle committed Sep 29, 2023
1 parent 74d38dc commit 7342fed
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion packages/graphql/src/graphql/input-objects/QueryOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/tests/schema/comments.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/tests/schema/connections/unions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/tests/schema/directive-preserve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/graphql/tests/schema/directives/filterable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/graphql/tests/schema/directives/settable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/tests/schema/issues/2981.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/tests/schema/issues/3428.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql/tests/schema/subscriptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/tests/schema/unions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7342fed

Please sign in to comment.