Commit 5c12269
committed
re-introduction of simple errorPath based filtering
removes the need for entire GraphQLResult class and host of helper functions, presumably improving performance in both the non-incremental and incremental cases
this filtering can probably be further improved, as we do not have to check for errors in the path tree higher than the current incremental context's path, if we chose to save that information.1 parent d156b24 commit 5c12269
File tree
5 files changed
+165
-256
lines changed- src
- execution
- __tests__
- jsutils
5 files changed
+165
-256
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
174 | | - | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
| 208 | + | |
208 | 209 | | |
| 210 | + | |
209 | 211 | | |
210 | | - | |
211 | | - | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | 639 | | |
651 | 640 | | |
652 | 641 | | |
| 642 | + | |
| 643 | + | |
653 | 644 | | |
654 | 645 | | |
655 | 646 | | |
| |||
699 | 690 | | |
700 | 691 | | |
701 | 692 | | |
| 693 | + | |
| 694 | + | |
702 | 695 | | |
703 | 696 | | |
704 | 697 | | |
| |||
793 | 786 | | |
794 | 787 | | |
795 | 788 | | |
| 789 | + | |
| 790 | + | |
796 | 791 | | |
797 | 792 | | |
798 | 793 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | | - | |
1120 | | - | |
| 1119 | + | |
| 1120 | + | |
1121 | 1121 | | |
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | | - | |
| 1128 | + | |
1129 | 1129 | | |
1130 | 1130 | | |
1131 | 1131 | | |
1132 | | - | |
| 1132 | + | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | | - | |
| 1135 | + | |
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2096 | 2096 | | |
2097 | 2097 | | |
2098 | 2098 | | |
2099 | | - | |
2100 | | - | |
| 2099 | + | |
| 2100 | + | |
2101 | 2101 | | |
2102 | 2102 | | |
2103 | 2103 | | |
2104 | 2104 | | |
2105 | 2105 | | |
2106 | 2106 | | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
2107 | 2116 | | |
2108 | 2117 | | |
2109 | 2118 | | |
| |||
0 commit comments