You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpGetSchemaMiddlewareTests.Download_GraphQL_SDL.snap
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ type Droid implements Character {
17
17
id:ID!
18
18
name:String!
19
19
appearsIn: [Episode]
20
-
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
20
+
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], slicingArgumentDefaultValue:10, sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
21
21
height(unit:Unit):Float
22
22
primaryFunction: String
23
23
traits: JSON
@@ -45,7 +45,7 @@ type Human implements Character {
45
45
id:ID!
46
46
name:String!
47
47
appearsIn: [Episode]
48
-
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
48
+
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], slicingArgumentDefaultValue:10, sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
49
49
otherHuman: Human
50
50
height(unit:Unit):Float
51
51
homePlanet: String
@@ -128,7 +128,7 @@ directive @defer("If this argument label has a value other than null, it will be
128
128
directive @foo(bar: Int!) onSUBSCRIPTION
129
129
130
130
"The purpose of the `@listSize` directive is to either inform the static analysis about the size of returned lists (if that information is statically available), or to point the analysis to where to find that information."
131
-
directive @listSize("The `assumedSize` argument can be used to statically define the maximum length of a list returned by a field." assumedSize: Int "The `slicingArguments` argument can be used to define which of the field's arguments with numeric type are slicing arguments, so that their value determines the size of the list returned by that field. It may specify a list of multiple slicing arguments." slicingArguments: [String!] "The `sizedFields` argument can be used to define that the value of the `assumedSize` argument or of a slicing argument does not affect the size of a list returned by a field itself, but that of a list returned by one of its sub-fields." sizedFields: [String!] "The `requireOneSlicingArgument` argument can be used to inform the static analysis that it should expect that exactly one of the defined slicing arguments is present in a query. If that is not the case (i.e., if none or multiple slicing arguments are present), the static analysis may throw an error." requireOneSlicingArgument: Boolean! = true) on FIELD_DEFINITION
131
+
directive @listSize("The `assumedSize` argument can be used to statically define the maximum length of a list returned by a field." assumedSize: Int "The `slicingArguments` argument can be used to define which of the field's arguments with numeric type are slicing arguments, so that their value determines the size of the list returned by that field. It may specify a list of multiple slicing arguments." slicingArguments: [String!] "The `slicingArgumentDefaultValue` argument can be used to define a default value for a slicing argument, which is used if the argument is not present in a query." slicingArgumentDefaultValue: Int "The `sizedFields` argument can be used to define that the value of the `assumedSize` argument or of a slicing argument does not affect the size of a list returned by a field itself, but that of a list returned by one of its sub-fields." sizedFields: [String!] "The `requireOneSlicingArgument` argument can be used to inform the static analysis that it should expect that exactly one of the defined slicing arguments is present in a query. If that is not the case (i.e., if none or multiple slicing arguments are present), the static analysis may throw an error." requireOneSlicingArgument: Boolean! = true) on FIELD_DEFINITION
132
132
133
133
"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over `@stream`."
134
134
directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to."label: String"The initial elements that shall be send down to the consumer."initialCount: Int!=0"Streamed when true."if: Boolean) onFIELD
Copy file name to clipboardExpand all lines: src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpGetSchemaMiddlewareTests.Download_GraphQL_SDL_Explicit_Route.snap
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ type Droid implements Character {
17
17
id:ID!
18
18
name:String!
19
19
appearsIn: [Episode]
20
-
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
20
+
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], slicingArgumentDefaultValue:10, sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
21
21
height(unit:Unit):Float
22
22
primaryFunction: String
23
23
traits: JSON
@@ -45,7 +45,7 @@ type Human implements Character {
45
45
id:ID!
46
46
name:String!
47
47
appearsIn: [Episode]
48
-
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
48
+
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], slicingArgumentDefaultValue:10, sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
49
49
otherHuman: Human
50
50
height(unit:Unit):Float
51
51
homePlanet: String
@@ -126,7 +126,7 @@ directive @cost("The `weight` argument defines what value to add to the overall
126
126
directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to."label: String"Deferred when true."if: Boolean) onFRAGMENT_SPREAD|INLINE_FRAGMENT
127
127
128
128
"The purpose of the `@listSize` directive is to either inform the static analysis about the size of returned lists (if that information is statically available), or to point the analysis to where to find that information."
129
-
directive @listSize("The `assumedSize` argument can be used to statically define the maximum length of a list returned by a field." assumedSize: Int "The `slicingArguments` argument can be used to define which of the field's arguments with numeric type are slicing arguments, so that their value determines the size of the list returned by that field. It may specify a list of multiple slicing arguments." slicingArguments: [String!] "The `sizedFields` argument can be used to define that the value of the `assumedSize` argument or of a slicing argument does not affect the size of a list returned by a field itself, but that of a list returned by one of its sub-fields." sizedFields: [String!] "The `requireOneSlicingArgument` argument can be used to inform the static analysis that it should expect that exactly one of the defined slicing arguments is present in a query. If that is not the case (i.e., if none or multiple slicing arguments are present), the static analysis may throw an error." requireOneSlicingArgument: Boolean! = true) on FIELD_DEFINITION
129
+
directive @listSize("The `assumedSize` argument can be used to statically define the maximum length of a list returned by a field." assumedSize: Int "The `slicingArguments` argument can be used to define which of the field's arguments with numeric type are slicing arguments, so that their value determines the size of the list returned by that field. It may specify a list of multiple slicing arguments." slicingArguments: [String!] "The `slicingArgumentDefaultValue` argument can be used to define a default value for a slicing argument, which is used if the argument is not present in a query." slicingArgumentDefaultValue: Int "The `sizedFields` argument can be used to define that the value of the `assumedSize` argument or of a slicing argument does not affect the size of a list returned by a field itself, but that of a list returned by one of its sub-fields." sizedFields: [String!] "The `requireOneSlicingArgument` argument can be used to inform the static analysis that it should expect that exactly one of the defined slicing arguments is present in a query. If that is not the case (i.e., if none or multiple slicing arguments are present), the static analysis may throw an error." requireOneSlicingArgument: Boolean! = true) on FIELD_DEFINITION
130
130
131
131
"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over `@stream`."
132
132
directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to."label: String"The initial elements that shall be send down to the consumer."initialCount: Int!=0"Streamed when true."if: Boolean) onFIELD
Copy file name to clipboardExpand all lines: src/HotChocolate/AspNetCore/test/AspNetCore.Tests/__snapshots__/HttpGetSchemaMiddlewareTests.Download_GraphQL_SDL_Explicit_Route_Explicit_Pattern.snap
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ type Droid implements Character {
17
17
id:ID!
18
18
name:String!
19
19
appearsIn: [Episode]
20
-
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
20
+
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], slicingArgumentDefaultValue:10, sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
21
21
height(unit:Unit):Float
22
22
primaryFunction: String
23
23
traits: JSON
@@ -45,7 +45,7 @@ type Human implements Character {
45
45
id:ID!
46
46
name:String!
47
47
appearsIn: [Episode]
48
-
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
48
+
friends("Returnsthefirst_n_elementsfromthelist." first:Int"Returns the elements in the list that come after the specified cursor."after: String"Returns the last _n_ elements from the list."last: Int"Returns the elements in the list that come before the specified cursor."before: String):FriendsConnection @listSize(assumedSize:50, slicingArguments: [ "first", "last" ], slicingArgumentDefaultValue:10, sizedFields: [ "edges", "nodes" ], requireOneSlicingArgument:false)
49
49
otherHuman: Human
50
50
height(unit:Unit):Float
51
51
homePlanet: String
@@ -126,7 +126,7 @@ directive @cost("The `weight` argument defines what value to add to the overall
126
126
directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to."label: String"Deferred when true."if: Boolean) onFRAGMENT_SPREAD|INLINE_FRAGMENT
127
127
128
128
"The purpose of the `@listSize` directive is to either inform the static analysis about the size of returned lists (if that information is statically available), or to point the analysis to where to find that information."
129
-
directive @listSize("The `assumedSize` argument can be used to statically define the maximum length of a list returned by a field." assumedSize: Int "The `slicingArguments` argument can be used to define which of the field's arguments with numeric type are slicing arguments, so that their value determines the size of the list returned by that field. It may specify a list of multiple slicing arguments." slicingArguments: [String!] "The `sizedFields` argument can be used to define that the value of the `assumedSize` argument or of a slicing argument does not affect the size of a list returned by a field itself, but that of a list returned by one of its sub-fields." sizedFields: [String!] "The `requireOneSlicingArgument` argument can be used to inform the static analysis that it should expect that exactly one of the defined slicing arguments is present in a query. If that is not the case (i.e., if none or multiple slicing arguments are present), the static analysis may throw an error." requireOneSlicingArgument: Boolean! = true) on FIELD_DEFINITION
129
+
directive @listSize("The `assumedSize` argument can be used to statically define the maximum length of a list returned by a field." assumedSize: Int "The `slicingArguments` argument can be used to define which of the field's arguments with numeric type are slicing arguments, so that their value determines the size of the list returned by that field. It may specify a list of multiple slicing arguments." slicingArguments: [String!] "The `slicingArgumentDefaultValue` argument can be used to define a default value for a slicing argument, which is used if the argument is not present in a query." slicingArgumentDefaultValue: Int "The `sizedFields` argument can be used to define that the value of the `assumedSize` argument or of a slicing argument does not affect the size of a list returned by a field itself, but that of a list returned by one of its sub-fields." sizedFields: [String!] "The `requireOneSlicingArgument` argument can be used to inform the static analysis that it should expect that exactly one of the defined slicing arguments is present in a query. If that is not the case (i.e., if none or multiple slicing arguments are present), the static analysis may throw an error." requireOneSlicingArgument: Boolean! = true) on FIELD_DEFINITION
130
130
131
131
"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over `@stream`."
132
132
directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to."label: String"The initial elements that shall be send down to the consumer."initialCount: Int!=0"Streamed when true."if: Boolean) onFIELD
0 commit comments