Repository navigation
Commit b4cd4f0
Expect the scanner's enum error for a directive enum in a Map input
The directive enum test from #852 expected the parser's "Expected enum
with name 'Purpose' but found none!" for an enum that's also used by an
input field bound to a Map. With this branch the scanner already fails
for that enum, since no class can be found for it, and names the input
type, the field and how to fix it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 0ae99e1 commit b4cd4f0
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
0 commit comments