Skip to content

Commit

Permalink
Checkin current version of snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-tengler committed Jun 25, 2024
1 parent 4bf95bb commit 84859e8
Show file tree
Hide file tree
Showing 165 changed files with 8,793 additions and 704 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
"errors": [
{
"message": "Unexpected Execution Error",
"locations": [
{
"line": 1,
"column": 29
}
],
"path": [
"productById"
]
},
{
"message": "Cannot return null for non-nullable field.",
"locations": [
{
"line": 2,
Expand All @@ -15,7 +27,10 @@
],
"path": [
"productById"
]
],
"extensions": {
"code": "HC0018"
}
}
],
"data": null
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Entity_Resolver_EntryField_NonNull_Both_Services_Error_EntryField

## Result

```json
{
"errors": [
{
"message": "Unexpected Execution Error",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"productById"
]
}
],
"data": null
}
```

## Request

```graphql
{
productById(id: "1") {
id
name
price
score
}
}
```

## QueryPlan Hash

```text
A5FE502D9F6F0548B898BC17A33BC0F2A2A13AE6
```

## QueryPlan

```json
{
"document": "{ productById(id: \u00221\u0022) { id name price score } }",
"rootNode": {
"type": "Sequence",
"nodes": [
{
"type": "Resolve",
"subgraph": "Subgraph_1",
"document": "query fetch_productById_1 { productById(id: \u00221\u0022) { id name price __fusion_exports__1: id } }",
"selectionSetId": 0,
"provides": [
{
"variable": "__fusion_exports__1"
}
]
},
{
"type": "Compose",
"selectionSetIds": [
0
]
},
{
"type": "Resolve",
"subgraph": "Subgraph_2",
"document": "query fetch_productById_2($__fusion_exports__1: ID!) { productById(id: $__fusion_exports__1) { score } }",
"selectionSetId": 1,
"path": [
"productById"
],
"requires": [
{
"variable": "__fusion_exports__1"
}
]
},
{
"type": "Compose",
"selectionSetIds": [
1
]
}
]
},
"state": {
"__fusion_exports__1": "Product_id"
}
}
```

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"message": "Unexpected Execution Error",
"locations": [
{
"line": 2,
"column": 3
"line": 1,
"column": 29
}
],
"path": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Entity_Resolver_EntryField_Nullable_Both_Services_Error_EntryField

## Result

```json
{
"errors": [
{
"message": "Unexpected Execution Error",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"productById"
]
}
],
"data": {
"productById": null
}
}
```

## Request

```graphql
{
productById(id: "1") {
id
name
price
score
}
}
```

## QueryPlan Hash

```text
A5FE502D9F6F0548B898BC17A33BC0F2A2A13AE6
```

## QueryPlan

```json
{
"document": "{ productById(id: \u00221\u0022) { id name price score } }",
"rootNode": {
"type": "Sequence",
"nodes": [
{
"type": "Resolve",
"subgraph": "Subgraph_1",
"document": "query fetch_productById_1 { productById(id: \u00221\u0022) { id name price __fusion_exports__1: id } }",
"selectionSetId": 0,
"provides": [
{
"variable": "__fusion_exports__1"
}
]
},
{
"type": "Compose",
"selectionSetIds": [
0
]
},
{
"type": "Resolve",
"subgraph": "Subgraph_2",
"document": "query fetch_productById_2($__fusion_exports__1: ID!) { productById(id: $__fusion_exports__1) { score } }",
"selectionSetId": 1,
"path": [
"productById"
],
"requires": [
{
"variable": "__fusion_exports__1"
}
]
},
{
"type": "Compose",
"selectionSetIds": [
1
]
}
]
},
"state": {
"__fusion_exports__1": "Product_id"
}
}
```

Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,28 @@
"message": "Unexpected Execution Error",
"locations": [
{
"line": 3,
"column": 5
"line": 1,
"column": 29
}
],
"path": [
"productById",
"id"
"productById"
]
},
{
"message": "Unexpected Execution Error",
"message": "Cannot return null for non-nullable field.",
"locations": [
{
"line": 4,
"column": 5
"line": 2,
"column": 3
}
],
"path": [
"productById",
"name"
]
},
{
"message": "Unexpected Execution Error",
"locations": [
{
"line": 5,
"column": 5
}
"productById"
],
"path": [
"productById",
"price"
]
"extensions": {
"code": "HC0018"
}
}
],
"data": null
Expand Down
Loading

0 comments on commit 84859e8

Please sign in to comment.