-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
1 parent
783ec7a
commit 162faf2
Showing
18 changed files
with
351 additions
and
430 deletions.
There are no files selected for viewing
302 changes: 195 additions & 107 deletions
302
src/HotChocolate/Core/test/Execution.Tests/Integration/DataLoader/DataLoaderTests.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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
59 changes: 59 additions & 0 deletions
59
...n.Tests/Integration/DataLoader/__snapshots__/DataLoaderTests.ClassDataLoader.md
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,59 @@ | ||
# ClassDataLoader | ||
|
||
## Result 1 | ||
|
||
```json | ||
{ | ||
"data": { | ||
"a": "a", | ||
"b": "b", | ||
"bar": { | ||
"c": "c" | ||
} | ||
}, | ||
"extensions": { | ||
"loads": [ | ||
[ | ||
"a", | ||
"b", | ||
"c" | ||
] | ||
] | ||
} | ||
} | ||
``` | ||
|
||
## Result 2 | ||
|
||
```json | ||
{ | ||
"data": { | ||
"a": "a" | ||
}, | ||
"extensions": { | ||
"loads": [ | ||
[ | ||
"a" | ||
] | ||
] | ||
} | ||
} | ||
``` | ||
|
||
## Result 3 | ||
|
||
```json | ||
{ | ||
"data": { | ||
"c": "c" | ||
}, | ||
"extensions": { | ||
"loads": [ | ||
[ | ||
"c" | ||
] | ||
] | ||
} | ||
} | ||
``` | ||
|
71 changes: 0 additions & 71 deletions
71
...Execution.Tests/Integration/DataLoader/__snapshots__/DataLoaderTests.ClassDataLoader.snap
This file was deleted.
Oops, something went wrong.
64 changes: 0 additions & 64 deletions
64
...on.Tests/Integration/DataLoader/__snapshots__/DataLoaderTests.ClassDataLoaderWithKey.snap
This file was deleted.
Oops, something went wrong.
55 changes: 55 additions & 0 deletions
55
...snapshots__/DataLoaderTests.ClassDataLoader_Resolve_From_DependencyInjection.md
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,55 @@ | ||
# ClassDataLoader_Resolve_From_DependencyInjection | ||
|
||
## Result 1 | ||
|
||
```json | ||
{ | ||
"data": { | ||
"a": "a", | ||
"b": "b" | ||
}, | ||
"extensions": { | ||
"loads": [ | ||
[ | ||
"a", | ||
"b" | ||
] | ||
] | ||
} | ||
} | ||
``` | ||
|
||
## Result 2 | ||
|
||
```json | ||
{ | ||
"data": { | ||
"a": "a" | ||
}, | ||
"extensions": { | ||
"loads": [ | ||
[ | ||
"a" | ||
] | ||
] | ||
} | ||
} | ||
``` | ||
|
||
## Result 3 | ||
|
||
```json | ||
{ | ||
"data": { | ||
"c": "c" | ||
}, | ||
"extensions": { | ||
"loads": [ | ||
[ | ||
"c" | ||
] | ||
] | ||
} | ||
} | ||
``` | ||
|
67 changes: 0 additions & 67 deletions
67
...oader/__snapshots__/DataLoaderTests.ClassDataLoader_Resolve_From_DependencyInjection.snap
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
...ots__/DataLoaderTests.ClassDataLoader_Resolve_From_DependencyInjection_NETCOREAPP2_1.snap
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
..._/DataLoaderTests.DataLoader_Request_Ensures_That_There_Is_A_Single_Instance.md
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,13 @@ | ||
# DataLoader_Request_Ensures_That_There_Is_A_Single_Instance | ||
|
||
```json | ||
{ | ||
"data": { | ||
"a": "abc1", | ||
"b": "abc1", | ||
"c": "abc1", | ||
"d": "abc1", | ||
"e": "abc1" | ||
} | ||
} | ||
``` |
Oops, something went wrong.