Commit 9789e46
Add
Enables filtering union/interface types by concrete subtype.
Uses single underscore (`_typename`) since GraphQL spec prohibits
`__` prefix on input fields. Also fixes CamelCaseConverter to
preserve leading underscores via lookbehind assertion.
This is step 1 for #1024.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>_typename filter field to abstract type filter inputs1 parent 1433121 commit 9789e46
8 files changed
Lines changed: 86 additions & 10 deletions
File tree
- config/schema
- artifacts_with_apollo
- artifacts
- elasticgraph-apollo/spec/unit/elastic_graph/apollo
- elasticgraph-schema_artifacts
- lib/elastic_graph/schema_artifacts/runtime_metadata
- sig/elastic_graph/schema_artifacts/runtime_metadata
- spec/unit/elastic_graph/schema_artifacts/runtime_metadata
- elasticgraph-schema_definition
- lib/elastic_graph/schema_definition/mixins
- spec/unit/elastic_graph/schema_definition/graphql_schema
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3545 | 3545 | | |
3546 | 3546 | | |
3547 | 3547 | | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
| 3553 | + | |
3548 | 3554 | | |
3549 | 3555 | | |
3550 | 3556 | | |
| |||
5697 | 5703 | | |
5698 | 5704 | | |
5699 | 5705 | | |
| 5706 | + | |
| 5707 | + | |
| 5708 | + | |
| 5709 | + | |
| 5710 | + | |
| 5711 | + | |
5700 | 5712 | | |
5701 | 5713 | | |
5702 | 5714 | | |
| |||
6786 | 6798 | | |
6787 | 6799 | | |
6788 | 6800 | | |
| 6801 | + | |
| 6802 | + | |
| 6803 | + | |
| 6804 | + | |
| 6805 | + | |
| 6806 | + | |
6789 | 6807 | | |
6790 | 6808 | | |
6791 | 6809 | | |
| |||
7080 | 7098 | | |
7081 | 7099 | | |
7082 | 7100 | | |
| 7101 | + | |
| 7102 | + | |
| 7103 | + | |
| 7104 | + | |
| 7105 | + | |
| 7106 | + | |
7083 | 7107 | | |
7084 | 7108 | | |
7085 | 7109 | | |
| |||
14737 | 14761 | | |
14738 | 14762 | | |
14739 | 14763 | | |
| 14764 | + | |
| 14765 | + | |
| 14766 | + | |
| 14767 | + | |
| 14768 | + | |
| 14769 | + | |
14740 | 14770 | | |
14741 | 14771 | | |
14742 | 14772 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3827 | 3827 | | |
3828 | 3828 | | |
3829 | 3829 | | |
| 3830 | + | |
| 3831 | + | |
| 3832 | + | |
| 3833 | + | |
| 3834 | + | |
| 3835 | + | |
3830 | 3836 | | |
3831 | 3837 | | |
3832 | 3838 | | |
| |||
5979 | 5985 | | |
5980 | 5986 | | |
5981 | 5987 | | |
| 5988 | + | |
| 5989 | + | |
| 5990 | + | |
| 5991 | + | |
| 5992 | + | |
| 5993 | + | |
5982 | 5994 | | |
5983 | 5995 | | |
5984 | 5996 | | |
| |||
7068 | 7080 | | |
7069 | 7081 | | |
7070 | 7082 | | |
| 7083 | + | |
| 7084 | + | |
| 7085 | + | |
| 7086 | + | |
| 7087 | + | |
| 7088 | + | |
7071 | 7089 | | |
7072 | 7090 | | |
7073 | 7091 | | |
| |||
7362 | 7380 | | |
7363 | 7381 | | |
7364 | 7382 | | |
| 7383 | + | |
| 7384 | + | |
| 7385 | + | |
| 7386 | + | |
| 7387 | + | |
| 7388 | + | |
7365 | 7389 | | |
7366 | 7390 | | |
7367 | 7391 | | |
| |||
15060 | 15084 | | |
15061 | 15085 | | |
15062 | 15086 | | |
| 15087 | + | |
| 15088 | + | |
| 15089 | + | |
| 15090 | + | |
| 15091 | + | |
| 15092 | + | |
15063 | 15093 | | |
15064 | 15094 | | |
15065 | 15095 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
| 1320 | + | |
1320 | 1321 | | |
1321 | 1322 | | |
1322 | 1323 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
90 | 99 | | |
91 | 100 | | |
92 | 101 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
| 1151 | + | |
| 1152 | + | |
1155 | 1153 | | |
1156 | 1154 | | |
1157 | 1155 | | |
1158 | 1156 | | |
1159 | 1157 | | |
| 1158 | + | |
1160 | 1159 | | |
1161 | 1160 | | |
1162 | 1161 | | |
| |||
1222 | 1221 | | |
1223 | 1222 | | |
1224 | 1223 | | |
| 1224 | + | |
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
| |||
1279 | 1279 | | |
1280 | 1280 | | |
1281 | 1281 | | |
| 1282 | + | |
1282 | 1283 | | |
1283 | 1284 | | |
1284 | 1285 | | |
| |||
1340 | 1341 | | |
1341 | 1342 | | |
1342 | 1343 | | |
| 1344 | + | |
1343 | 1345 | | |
1344 | 1346 | | |
1345 | 1347 | | |
| |||
0 commit comments