-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
305 changed files
with
8,188 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...spec/snapshots/execution_spec__executionspec__spec__add-field-index-list.md_assert_0.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: response | ||
--- | ||
{ | ||
"status": 200, | ||
"headers": { | ||
"content-type": "application/json" | ||
}, | ||
"body": { | ||
"data": { | ||
"username": "Leanne Graham" | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...onspec/snapshots/execution_spec__executionspec__spec__add-field-index-list.md_client.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: client | ||
--- | ||
scalar Date | ||
|
||
scalar Email | ||
|
||
scalar Empty | ||
|
||
scalar JSON | ||
|
||
scalar PhoneNumber | ||
|
||
type Query { | ||
username: String | ||
users: [User] | ||
} | ||
|
||
scalar Url | ||
|
||
type User { | ||
name: String | ||
} | ||
|
||
schema { | ||
query: Query | ||
} |
15 changes: 15 additions & 0 deletions
15
...onspec/snapshots/execution_spec__executionspec__spec__add-field-index-list.md_merged.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: merged | ||
--- | ||
schema @server @upstream { | ||
query: Query | ||
} | ||
|
||
type Query @addField(name: "username", path: ["users", "0", "name"]) { | ||
users: [User] @http(baseURL: "http://jsonplaceholder.typicode.com", path: "/users") | ||
} | ||
|
||
type User { | ||
name: String | ||
} |
20 changes: 20 additions & 0 deletions
20
...tionspec/snapshots/execution_spec__executionspec__spec__add-field-modify.md_assert_0.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: response | ||
--- | ||
{ | ||
"status": 200, | ||
"headers": { | ||
"content-type": "application/json" | ||
}, | ||
"body": { | ||
"data": { | ||
"user": { | ||
"name": "foo", | ||
"street": "Kulas Light", | ||
"city": "Gwenborough", | ||
"zipcode": "92998-3874" | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...cutionspec/snapshots/execution_spec__executionspec__spec__add-field-modify.md_client.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: client | ||
--- | ||
type Address { | ||
city: String | ||
street: String | ||
zipcode: String | ||
} | ||
|
||
scalar Date | ||
|
||
scalar Email | ||
|
||
scalar Empty | ||
|
||
scalar JSON | ||
|
||
scalar PhoneNumber | ||
|
||
type Query { | ||
user: User | ||
} | ||
|
||
scalar Url | ||
|
||
type User { | ||
address: Address | ||
city: String | ||
name: String | ||
street: String | ||
zipcode: String | ||
} | ||
|
||
schema { | ||
query: Query | ||
} |
22 changes: 22 additions & 0 deletions
22
...cutionspec/snapshots/execution_spec__executionspec__spec__add-field-modify.md_merged.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: merged | ||
--- | ||
schema @server @upstream { | ||
query: Query | ||
} | ||
|
||
type Address { | ||
city: String | ||
street: String | ||
zipcode: String | ||
} | ||
|
||
type Query { | ||
user: User @http(baseURL: "http://jsonplaceholder.typicode.com", path: "/users/1") | ||
} | ||
|
||
type User @addField(name: "street", path: ["address", "street"]) @addField(name: "city", path: ["address", "city"]) @addField(name: "zipcode", path: ["address", "zipcode"]) { | ||
address: Address | ||
name: String | ||
} |
15 changes: 15 additions & 0 deletions
15
...napshots/execution_spec__executionspec__spec__add-field-with-composition.md_assert_0.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: response | ||
--- | ||
{ | ||
"status": 200, | ||
"headers": { | ||
"content-type": "application/json" | ||
}, | ||
"body": { | ||
"data": { | ||
"lat": "-37.3159" | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...napshots/execution_spec__executionspec__spec__add-field-with-composition.md_assert_1.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: response | ||
--- | ||
{ | ||
"status": 200, | ||
"headers": { | ||
"content-type": "application/json" | ||
}, | ||
"body": { | ||
"data": { | ||
"lng": "81.1496" | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
.../snapshots/execution_spec__executionspec__spec__add-field-with-composition.md_client.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: client | ||
--- | ||
type Address { | ||
geo: Geo | ||
street: String | ||
} | ||
|
||
scalar Date | ||
|
||
scalar Email | ||
|
||
scalar Empty | ||
|
||
type Geo { | ||
lat: String | ||
lng: String | ||
} | ||
|
||
scalar JSON | ||
|
||
scalar PhoneNumber | ||
|
||
type Query { | ||
lat: String | ||
lng: String | ||
user: User | ||
} | ||
|
||
scalar Url | ||
|
||
type User { | ||
address: Address | ||
} | ||
|
||
schema { | ||
query: Query | ||
} |
25 changes: 25 additions & 0 deletions
25
.../snapshots/execution_spec__executionspec__spec__add-field-with-composition.md_merged.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: merged | ||
--- | ||
schema @server @upstream { | ||
query: Query | ||
} | ||
|
||
type Address { | ||
geo: Geo | ||
street: String | ||
} | ||
|
||
type Geo { | ||
lat: String | ||
lng: String | ||
} | ||
|
||
type Query @addField(name: "lat", path: ["user", "address", "geo", "lat"]) @addField(name: "lng", path: ["user", "address", "geo", "lng"]) { | ||
user: User @http(baseURL: "http://jsonplaceholder.typicode.com", path: "/users/1") | ||
} | ||
|
||
type User { | ||
address: Address | ||
} |
15 changes: 15 additions & 0 deletions
15
...pec/snapshots/execution_spec__executionspec__spec__add-field-with-modify.md_assert_0.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: response | ||
--- | ||
{ | ||
"status": 200, | ||
"headers": { | ||
"content-type": "application/json" | ||
}, | ||
"body": { | ||
"data": { | ||
"user1": "Leanne Graham" | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...pec/snapshots/execution_spec__executionspec__spec__add-field-with-modify.md_assert_1.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: response | ||
--- | ||
{ | ||
"status": 200, | ||
"headers": { | ||
"content-type": "application/json" | ||
}, | ||
"body": { | ||
"data": { | ||
"user2": "Ervin Howell" | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...nspec/snapshots/execution_spec__executionspec__spec__add-field-with-modify.md_client.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: client | ||
--- | ||
scalar Date | ||
|
||
scalar Email | ||
|
||
scalar Empty | ||
|
||
scalar JSON | ||
|
||
scalar PhoneNumber | ||
|
||
type Query { | ||
person1: User | ||
person2: User | ||
user1: String | ||
user2: String | ||
} | ||
|
||
scalar Url | ||
|
||
type User { | ||
name: String | ||
} | ||
|
||
schema { | ||
query: Query | ||
} |
16 changes: 16 additions & 0 deletions
16
...nspec/snapshots/execution_spec__executionspec__spec__add-field-with-modify.md_merged.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: merged | ||
--- | ||
schema @server @upstream { | ||
query: Query | ||
} | ||
|
||
type Query @addField(name: "user1", path: ["person1", "name"]) @addField(name: "user2", path: ["person2", "name"]) { | ||
person1: User @http(baseURL: "http://jsonplaceholder.typicode.com", path: "/users/1") | ||
person2: User @http(baseURL: "http://jsonplaceholder.typicode.com", path: "/users/2") | ||
} | ||
|
||
type User { | ||
name: String | ||
} |
17 changes: 17 additions & 0 deletions
17
...s/executionspec/snapshots/execution_spec__executionspec__spec__add-field.md_assert_0.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: response | ||
--- | ||
{ | ||
"status": 200, | ||
"headers": { | ||
"content-type": "application/json" | ||
}, | ||
"body": { | ||
"data": { | ||
"user": { | ||
"lat": "-37.3159" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
tests/executionspec/snapshots/execution_spec__executionspec__spec__add-field.md_client.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: client | ||
--- | ||
type Address { | ||
geo: Geo | ||
} | ||
|
||
scalar Date | ||
|
||
scalar Email | ||
|
||
scalar Empty | ||
|
||
type Geo { | ||
lat: String | ||
} | ||
|
||
scalar JSON | ||
|
||
scalar PhoneNumber | ||
|
||
type Query { | ||
user: User | ||
} | ||
|
||
scalar Url | ||
|
||
type User { | ||
address: Address | ||
lat: String | ||
} | ||
|
||
schema { | ||
query: Query | ||
} |
23 changes: 23 additions & 0 deletions
23
tests/executionspec/snapshots/execution_spec__executionspec__spec__add-field.md_merged.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
source: tests/execution_spec.rs | ||
expression: merged | ||
--- | ||
schema @server @upstream { | ||
query: Query | ||
} | ||
|
||
type Address { | ||
geo: Geo | ||
} | ||
|
||
type Geo { | ||
lat: String | ||
} | ||
|
||
type Query { | ||
user: User @http(baseURL: "http://jsonplaceholder.typicode.com", path: "/users/1") | ||
} | ||
|
||
type User @addField(name: "lat", path: ["address", "geo", "lat"]) { | ||
address: Address | ||
} |
Oops, something went wrong.