Keep paginated data up to date with the cache #91
Annotations
2 errors
test/cache.test.ts > Write & read in cache:
test/cache.test.ts#L43
Error: Snapshot `Write & read in cache 1` mismatched
- Expected
+ Received
@@ -32,10 +32,17 @@
"operation": "query",
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
+ "kind": "Field",
+ "name": {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ {
"alias": undefined,
"arguments": [
{
"kind": "Argument",
"name": {
@@ -58,10 +65,17 @@
"value": "accountMembership",
},
"selectionSet": {
"kind": "SelectionSet",
"selections": [
+ {
+ "kind": "Field",
+ "name": {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
{
"alias": undefined,
"arguments": undefined,
"directives": undefined,
"kind": "Field",
@@ -81,10 +95,17 @@
"value": "user",
},
"selectionSet": {
"kind": "SelectionSet",
"selections": [
+ {
+ "kind": "Field",
+ "name": {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
{
"alias": undefined,
"arguments": undefined,
"directives": undefined,
"kind": "Field",
@@ -93,16 +114,140 @@
"value": "id",
},
"selectionSet": undefined,
},
{
- "directives": undefined,
- "kind": "FragmentSpread",
- "name": {
- "kind": "Name",
- "value": "UserInfo",
+ "kind": "InlineFragment",
+ "selectionSet": {
+ "kind": "SelectionSet",
+ "selections": [
+ {
+ "kind": "Field",
+ "name": {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ {
+ "alias": undefined,
+ "arguments": undefined,
+ "directives": undefined,
+ "kind": "Field",
+ "name": {
+ "kind": "Name",
+ "value": "id",
+ },
+ "selectionSet": undefined,
+ },
+ {
+ "alias": undefined,
+ "arguments": undefined,
+ "directives": undefined,
+ "kind": "Field",
+ "name": {
+
|
build
Process completed with exit code 1.
|