Commit 7223e89
authored
Update GraphQlReader.php
Based on feedback from #31879 (comment) @Bartlomiejsz
> regarding first issue - with empty enum. It looks like the fix is to replace first matching group in both $typeDefinitionPattern variables:
>
> ([^\{]*)
> with:
>
> ([^\{\}]*)
> Then this regex will check if there is neither beginning or ending bracket in this place1 parent 075a261 commit 7223e89
File tree
1 file changed
+7
-12
lines changed- lib/internal/Magento/Framework/GraphQlSchemaStitching
1 file changed
+7
-12
lines changedLines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 360 | | |
372 | 361 | | |
373 | 362 | | |
374 | 363 | | |
375 | 364 | | |
376 | 365 | | |
377 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
378 | 373 | | |
379 | 374 | | |
380 | 375 | | |
| |||
0 commit comments