|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
| 3 | +exports[`deleteOthers is not available if foreign table has @omit delete 1`] = ` |
| 4 | +GraphQLSchema { |
| 5 | + "__allowedLegacyNames": Array [], |
| 6 | + "__validationErrors": undefined, |
| 7 | + "_directives": Array [ |
| 8 | + "@include", |
| 9 | + "@skip", |
| 10 | + "@deprecated", |
| 11 | + ], |
| 12 | + "_implementations": Object { |
| 13 | + "Node": Array [ |
| 14 | + "Query", |
| 15 | + "Child", |
| 16 | + "Parent", |
| 17 | + ], |
| 18 | + }, |
| 19 | + "_mutationType": "Mutation", |
| 20 | + "_possibleTypeMap": undefined, |
| 21 | + "_queryType": "Query", |
| 22 | + "_subscriptionType": undefined, |
| 23 | + "_typeMap": Object { |
| 24 | + "Boolean": "Boolean", |
| 25 | + "Child": "Child", |
| 26 | + "ChildChildPkeyConnect": "ChildChildPkeyConnect", |
| 27 | + "ChildCondition": "ChildCondition", |
| 28 | + "ChildInput": "ChildInput", |
| 29 | + "ChildNodeIdConnect": "ChildNodeIdConnect", |
| 30 | + "ChildOnChildForChildParentFkeyNodeIdUpdate": "ChildOnChildForChildParentFkeyNodeIdUpdate", |
| 31 | + "ChildOnChildForChildParentFkeyUsingChildPkeyUpdate": "ChildOnChildForChildParentFkeyUsingChildPkeyUpdate", |
| 32 | + "ChildParentFkeyChildCreateInput": "ChildParentFkeyChildCreateInput", |
| 33 | + "ChildParentFkeyInput": "ChildParentFkeyInput", |
| 34 | + "ChildParentFkeyInverseInput": "ChildParentFkeyInverseInput", |
| 35 | + "ChildParentFkeyParentCreateInput": "ChildParentFkeyParentCreateInput", |
| 36 | + "ChildPatch": "ChildPatch", |
| 37 | + "ChildrenConnection": "ChildrenConnection", |
| 38 | + "ChildrenEdge": "ChildrenEdge", |
| 39 | + "ChildrenOrderBy": "ChildrenOrderBy", |
| 40 | + "CreateChildInput": "CreateChildInput", |
| 41 | + "CreateChildPayload": "CreateChildPayload", |
| 42 | + "CreateParentInput": "CreateParentInput", |
| 43 | + "CreateParentPayload": "CreateParentPayload", |
| 44 | + "Cursor": "Cursor", |
| 45 | + "DeleteParentByIdInput": "DeleteParentByIdInput", |
| 46 | + "DeleteParentInput": "DeleteParentInput", |
| 47 | + "DeleteParentPayload": "DeleteParentPayload", |
| 48 | + "ID": "ID", |
| 49 | + "Int": "Int", |
| 50 | + "Mutation": "Mutation", |
| 51 | + "Node": "Node", |
| 52 | + "PageInfo": "PageInfo", |
| 53 | + "Parent": "Parent", |
| 54 | + "ParentCondition": "ParentCondition", |
| 55 | + "ParentInput": "ParentInput", |
| 56 | + "ParentNodeIdConnect": "ParentNodeIdConnect", |
| 57 | + "ParentOnChildForChildParentFkeyNodeIdUpdate": "ParentOnChildForChildParentFkeyNodeIdUpdate", |
| 58 | + "ParentOnChildForChildParentFkeyUsingParentPkeyUpdate": "ParentOnChildForChildParentFkeyUsingParentPkeyUpdate", |
| 59 | + "ParentParentPkeyConnect": "ParentParentPkeyConnect", |
| 60 | + "ParentPatch": "ParentPatch", |
| 61 | + "ParentsConnection": "ParentsConnection", |
| 62 | + "ParentsEdge": "ParentsEdge", |
| 63 | + "ParentsOrderBy": "ParentsOrderBy", |
| 64 | + "Query": "Query", |
| 65 | + "String": "String", |
| 66 | + "UpdateChildByIdInput": "UpdateChildByIdInput", |
| 67 | + "UpdateChildInput": "UpdateChildInput", |
| 68 | + "UpdateChildPayload": "UpdateChildPayload", |
| 69 | + "UpdateParentByIdInput": "UpdateParentByIdInput", |
| 70 | + "UpdateParentInput": "UpdateParentInput", |
| 71 | + "UpdateParentPayload": "UpdateParentPayload", |
| 72 | + "__Directive": "__Directive", |
| 73 | + "__DirectiveLocation": "__DirectiveLocation", |
| 74 | + "__EnumValue": "__EnumValue", |
| 75 | + "__Field": "__Field", |
| 76 | + "__InputValue": "__InputValue", |
| 77 | + "__Schema": "__Schema", |
| 78 | + "__Type": "__Type", |
| 79 | + "__TypeKind": "__TypeKind", |
| 80 | + "updateChildOnChildForChildParentFkeyPatch": "updateChildOnChildForChildParentFkeyPatch", |
| 81 | + "updateParentOnChildForChildParentFkeyPatch": "updateParentOnChildForChildParentFkeyPatch", |
| 82 | + }, |
| 83 | + "astNode": undefined, |
| 84 | + "extensionASTNodes": undefined, |
| 85 | +} |
| 86 | +`; |
| 87 | + |
3 | 88 | exports[`deleteOthers is not available when no primary key on the foreign relation 1`] = `
|
4 | 89 | GraphQLSchema {
|
5 | 90 | "__allowedLegacyNames": Array [],
|
@@ -515,6 +600,94 @@ GraphQLSchema {
|
515 | 600 | }
|
516 | 601 | `;
|
517 | 602 |
|
| 603 | +exports[`forward nested mutation with nested updateByNodeId 1`] = ` |
| 604 | +GraphQLSchema { |
| 605 | + "__allowedLegacyNames": Array [], |
| 606 | + "__validationErrors": Array [], |
| 607 | + "_directives": Array [ |
| 608 | + "@include", |
| 609 | + "@skip", |
| 610 | + "@deprecated", |
| 611 | + ], |
| 612 | + "_implementations": Object { |
| 613 | + "Node": Array [ |
| 614 | + "Query", |
| 615 | + "Child", |
| 616 | + "Parent", |
| 617 | + ], |
| 618 | + }, |
| 619 | + "_mutationType": "Mutation", |
| 620 | + "_possibleTypeMap": undefined, |
| 621 | + "_queryType": "Query", |
| 622 | + "_subscriptionType": undefined, |
| 623 | + "_typeMap": Object { |
| 624 | + "Boolean": "Boolean", |
| 625 | + "Child": "Child", |
| 626 | + "ChildChildPkeyConnect": "ChildChildPkeyConnect", |
| 627 | + "ChildCondition": "ChildCondition", |
| 628 | + "ChildInput": "ChildInput", |
| 629 | + "ChildNodeIdConnect": "ChildNodeIdConnect", |
| 630 | + "ChildOnChildForChildParentFkeyNodeIdUpdate": "ChildOnChildForChildParentFkeyNodeIdUpdate", |
| 631 | + "ChildOnChildForChildParentFkeyUsingChildPkeyUpdate": "ChildOnChildForChildParentFkeyUsingChildPkeyUpdate", |
| 632 | + "ChildParentFkeyChildCreateInput": "ChildParentFkeyChildCreateInput", |
| 633 | + "ChildParentFkeyInput": "ChildParentFkeyInput", |
| 634 | + "ChildParentFkeyInverseInput": "ChildParentFkeyInverseInput", |
| 635 | + "ChildParentFkeyParentCreateInput": "ChildParentFkeyParentCreateInput", |
| 636 | + "ChildPatch": "ChildPatch", |
| 637 | + "ChildrenConnection": "ChildrenConnection", |
| 638 | + "ChildrenEdge": "ChildrenEdge", |
| 639 | + "ChildrenOrderBy": "ChildrenOrderBy", |
| 640 | + "CreateChildInput": "CreateChildInput", |
| 641 | + "CreateChildPayload": "CreateChildPayload", |
| 642 | + "CreateParentInput": "CreateParentInput", |
| 643 | + "CreateParentPayload": "CreateParentPayload", |
| 644 | + "Cursor": "Cursor", |
| 645 | + "DeleteChildByIdInput": "DeleteChildByIdInput", |
| 646 | + "DeleteChildInput": "DeleteChildInput", |
| 647 | + "DeleteChildPayload": "DeleteChildPayload", |
| 648 | + "DeleteParentByIdInput": "DeleteParentByIdInput", |
| 649 | + "DeleteParentInput": "DeleteParentInput", |
| 650 | + "DeleteParentPayload": "DeleteParentPayload", |
| 651 | + "ID": "ID", |
| 652 | + "Int": "Int", |
| 653 | + "Mutation": "Mutation", |
| 654 | + "Node": "Node", |
| 655 | + "PageInfo": "PageInfo", |
| 656 | + "Parent": "Parent", |
| 657 | + "ParentCondition": "ParentCondition", |
| 658 | + "ParentInput": "ParentInput", |
| 659 | + "ParentNodeIdConnect": "ParentNodeIdConnect", |
| 660 | + "ParentOnChildForChildParentFkeyNodeIdUpdate": "ParentOnChildForChildParentFkeyNodeIdUpdate", |
| 661 | + "ParentOnChildForChildParentFkeyUsingParentPkeyUpdate": "ParentOnChildForChildParentFkeyUsingParentPkeyUpdate", |
| 662 | + "ParentParentPkeyConnect": "ParentParentPkeyConnect", |
| 663 | + "ParentPatch": "ParentPatch", |
| 664 | + "ParentsConnection": "ParentsConnection", |
| 665 | + "ParentsEdge": "ParentsEdge", |
| 666 | + "ParentsOrderBy": "ParentsOrderBy", |
| 667 | + "Query": "Query", |
| 668 | + "String": "String", |
| 669 | + "UpdateChildByIdInput": "UpdateChildByIdInput", |
| 670 | + "UpdateChildInput": "UpdateChildInput", |
| 671 | + "UpdateChildPayload": "UpdateChildPayload", |
| 672 | + "UpdateParentByIdInput": "UpdateParentByIdInput", |
| 673 | + "UpdateParentInput": "UpdateParentInput", |
| 674 | + "UpdateParentPayload": "UpdateParentPayload", |
| 675 | + "__Directive": "__Directive", |
| 676 | + "__DirectiveLocation": "__DirectiveLocation", |
| 677 | + "__EnumValue": "__EnumValue", |
| 678 | + "__Field": "__Field", |
| 679 | + "__InputValue": "__InputValue", |
| 680 | + "__Schema": "__Schema", |
| 681 | + "__Type": "__Type", |
| 682 | + "__TypeKind": "__TypeKind", |
| 683 | + "updateChildOnChildForChildParentFkeyPatch": "updateChildOnChildForChildParentFkeyPatch", |
| 684 | + "updateParentOnChildForChildParentFkeyPatch": "updateParentOnChildForChildParentFkeyPatch", |
| 685 | + }, |
| 686 | + "astNode": undefined, |
| 687 | + "extensionASTNodes": undefined, |
| 688 | +} |
| 689 | +`; |
| 690 | + |
518 | 691 | exports[`reverse nested mutation with nested update 1`] = `
|
519 | 692 | GraphQLSchema {
|
520 | 693 | "__allowedLegacyNames": Array [],
|
|
0 commit comments