Skip to content

Commit c79822a

Browse files
committed
fixup! WIP Implemented GraphQL error handling using IGQLError instead of Exception and parsing variables as JsonElement
1 parent 583adee commit c79822a

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

tests/FSharp.Data.GraphQL.IntegrationTests/introspection.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"documentId": 1444123434,
2+
"documentId": 1360354553,
33
"data": {
44
"__schema": {
55
"queryType": {
@@ -15,7 +15,7 @@
1515
{
1616
"kind": "SCALAR",
1717
"name": "Int",
18-
"description": "The \u0060Int\u0060 scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",
18+
"description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",
1919
"fields": null,
2020
"inputFields": null,
2121
"interfaces": null,
@@ -25,7 +25,7 @@
2525
{
2626
"kind": "SCALAR",
2727
"name": "String",
28-
"description": "The \u0060String\u0060 scalar type represents textual data, represented as UTF-8 character sequences. The \u0060String\u0060 type is most often used by GraphQL to represent free-form human-readable text.",
28+
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The `String` type is most often used by GraphQL to represent free-form human-readable text.",
2929
"fields": null,
3030
"inputFields": null,
3131
"interfaces": null,
@@ -35,7 +35,7 @@
3535
{
3636
"kind": "SCALAR",
3737
"name": "Boolean",
38-
"description": "The \u0060Boolean\u0060 scalar type represents \u0060true\u0060 or \u0060false\u0060.",
38+
"description": "The `Boolean` scalar type represents `true` or `false`.",
3939
"fields": null,
4040
"inputFields": null,
4141
"interfaces": null,
@@ -45,7 +45,7 @@
4545
{
4646
"kind": "SCALAR",
4747
"name": "Float",
48-
"description": "The \u0060Float\u0060 scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).",
48+
"description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).",
4949
"fields": null,
5050
"inputFields": null,
5151
"interfaces": null,
@@ -55,7 +55,7 @@
5555
{
5656
"kind": "SCALAR",
5757
"name": "ID",
58-
"description": "The \u0060ID\u0060 scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The \u0060ID\u0060 type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as \u0060\u00224\u0022\u0060) or integer (such as \u00604\u0060) input value will be accepted as an ID.",
58+
"description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The `ID` type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.",
5959
"fields": null,
6060
"inputFields": null,
6161
"interfaces": null,
@@ -65,7 +65,7 @@
6565
{
6666
"kind": "SCALAR",
6767
"name": "DateTimeOffset",
68-
"description": "The \u0060DateTimeOffset\u0060 scalar type represents a Date value with Time component. The \u0060DateTimeOffset\u0060 type appears in a JSON response as a String representation compatible with ISO-8601 format.",
68+
"description": "The `DateTimeOffset` scalar type represents a Date value with Time component. The `DateTimeOffset` type appears in a JSON response as a String representation compatible with ISO-8601 format.",
6969
"fields": null,
7070
"inputFields": null,
7171
"interfaces": null,
@@ -75,7 +75,7 @@
7575
{
7676
"kind": "SCALAR",
7777
"name": "DateOnly",
78-
"description": "The \u0060DateOnly\u0060 scalar type represents a Date value without Time component. The \u0060DateOnly\u0060 type appears in a JSON response as a \u0060String\u0060 representation of full-date value as specified by [IETF 3339](https://www.ietf.org/rfc/rfc3339.txt).",
78+
"description": "The `DateOnly` scalar type represents a Date value without Time component. The `DateOnly` type appears in a JSON response as a `String` representation of full-date value as specified by [IETF 3339](https://www.ietf.org/rfc/rfc3339.txt).",
7979
"fields": null,
8080
"inputFields": null,
8181
"interfaces": null,
@@ -85,7 +85,7 @@
8585
{
8686
"kind": "SCALAR",
8787
"name": "URI",
88-
"description": "The \u0060URI\u0060 scalar type represents a string resource identifier compatible with URI standard. The \u0060URI\u0060 type appears in a JSON response as a String.",
88+
"description": "The `URI` scalar type represents a string resource identifier compatible with URI standard. The `URI` type appears in a JSON response as a String.",
8989
"fields": null,
9090
"inputFields": null,
9191
"interfaces": null,
@@ -194,7 +194,7 @@
194194
{
195195
"kind": "OBJECT",
196196
"name": "__Directive",
197-
"description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. In some cases, you need to provide options to alter GraphQL\u2019s execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",
197+
"description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. In some cases, you need to provide options to alter GraphQL’s execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",
198198
"fields": [
199199
{
200200
"name": "args",
@@ -396,7 +396,7 @@
396396
{
397397
"kind": "OBJECT",
398398
"name": "__Type",
399-
"description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the \u0060__TypeKind\u0060 enum. Depending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",
399+
"description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum. Depending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",
400400
"fields": [
401401
{
402402
"name": "description",
@@ -422,7 +422,7 @@
422422
"name": "Boolean",
423423
"ofType": null
424424
},
425-
"defaultValue": "False"
425+
"defaultValue": "false"
426426
}
427427
],
428428
"type": {
@@ -453,7 +453,7 @@
453453
"name": "Boolean",
454454
"ofType": null
455455
},
456-
"defaultValue": "False"
456+
"defaultValue": "false"
457457
}
458458
],
459459
"type": {
@@ -768,43 +768,43 @@
768768
},
769769
{
770770
"name": "OBJECT",
771-
"description": "Indicates this type is an object. \u0060fields\u0060 and \u0060interfaces\u0060 are valid fields.",
771+
"description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.",
772772
"isDeprecated": false,
773773
"deprecationReason": null
774774
},
775775
{
776776
"name": "INTERFACE",
777-
"description": "Indicates this type is an interface. \u0060fields\u0060 and \u0060possibleTypes\u0060 are valid fields.",
777+
"description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.",
778778
"isDeprecated": false,
779779
"deprecationReason": null
780780
},
781781
{
782782
"name": "UNION",
783-
"description": "Indicates this type is a union. \u0060possibleTypes\u0060 is a valid field.",
783+
"description": "Indicates this type is a union. `possibleTypes` is a valid field.",
784784
"isDeprecated": false,
785785
"deprecationReason": null
786786
},
787787
{
788788
"name": "ENUM",
789-
"description": "Indicates this type is an enum. \u0060enumValues\u0060 is a valid field.",
789+
"description": "Indicates this type is an enum. `enumValues` is a valid field.",
790790
"isDeprecated": false,
791791
"deprecationReason": null
792792
},
793793
{
794794
"name": "INPUT_OBJECT",
795-
"description": "Indicates this type is an input object. \u0060inputFields\u0060 is a valid field.",
795+
"description": "Indicates this type is an input object. `inputFields` is a valid field.",
796796
"isDeprecated": false,
797797
"deprecationReason": null
798798
},
799799
{
800800
"name": "LIST",
801-
"description": "Indicates this type is a list. \u0060ofType\u0060 is a valid field.",
801+
"description": "Indicates this type is a list. `ofType` is a valid field.",
802802
"isDeprecated": false,
803803
"deprecationReason": null
804804
},
805805
{
806806
"name": "NON_NULL",
807-
"description": "Indicates this type is a non-null. \u0060ofType\u0060 is a valid field.",
807+
"description": "Indicates this type is a non-null. `ofType` is a valid field.",
808808
"isDeprecated": false,
809809
"deprecationReason": null
810810
}
@@ -1275,7 +1275,7 @@
12751275
},
12761276
{
12771277
"name": "totalCount",
1278-
"description": "A count of the total number of objects in this connection, ignoring pagination. This allows a client to fetch the first five objects by passing \\\u00225\\\u0022 as the argument to \u0060first\u0060, then fetch the total count so it could display \\\u00225 of 83\\\u0022, for example. In cases where we employ infinite scrolling or don\u0027t have an exact count of entries, this field will return \u0060null\u0060.",
1278+
"description": "A count of the total number of objects in this connection, ignoring pagination. This allows a client to fetch the first five objects by passing \\\"5\\\" as the argument to `first`, then fetch the total count so it could display \\\"5 of 83\\\", for example. In cases where we employ infinite scrolling or don't have an exact count of entries, this field will return `null`.",
12791279
"args": [],
12801280
"type": {
12811281
"kind": "SCALAR",
@@ -1655,7 +1655,7 @@
16551655
{
16561656
"kind": "SCALAR",
16571657
"name": "ObjectListFilter",
1658-
"description": "The \u0060Filter\u0060 scalar type represents a filter on one or more fields of an object in an object list. The filter is represented by a JSON object where the fields are the complemented by specific suffixes to represent a query.",
1658+
"description": "The `Filter` scalar type represents a filter on one or more fields of an object in an object list. The filter is represented by a JSON object where the fields are the complemented by specific suffixes to represent a query.",
16591659
"fields": null,
16601660
"inputFields": null,
16611661
"interfaces": null,
@@ -1666,7 +1666,7 @@
16661666
"directives": [
16671667
{
16681668
"name": "include",
1669-
"description": "Directs the executor to include this field or fragment only when the \u0060if\u0060 argument is true.",
1669+
"description": "Directs the executor to include this field or fragment only when the `if` argument is true.",
16701670
"locations": [
16711671
"FIELD",
16721672
"FRAGMENT_SPREAD",
@@ -1691,7 +1691,7 @@
16911691
},
16921692
{
16931693
"name": "skip",
1694-
"description": "Directs the executor to skip this field or fragment when the \u0060if\u0060 argument is true.",
1694+
"description": "Directs the executor to skip this field or fragment when the `if` argument is true.",
16951695
"locations": [
16961696
"FIELD",
16971697
"FRAGMENT_SPREAD",

0 commit comments

Comments
 (0)