Repository navigation
Commit 69e18bb
Add the directive definitions to the read-only schema
Scalars carry their directives now, so a schema whose only custom directives are on scalars failed toReadOnlySchema() with
"A definition for directive could not be found", like one with a custom directive on a field already did.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent cb1deee commit 69e18bb
2 files changed
Lines changed: 4 additions & 3 deletions
File tree
- src
- main/kotlin/graphql/kickstart/tools
- test/kotlin/graphql/kickstart/tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
| 679 | + | |
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
711 | | - | |
| 710 | + | |
712 | 711 | | |
713 | 712 | | |
714 | 713 | | |
| |||
728 | 727 | | |
729 | 728 | | |
730 | 729 | | |
| 730 | + | |
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| |||
0 commit comments