Fix: Leaf Field Selections for enums must also be empty#452
Fix: Leaf Field Selections for enums must also be empty#452leebyron merged 3 commits intographql:masterfrom
Conversation
|
@MSleepyPanda Thanks for quick PR 👍 |
|
While i'm at it, re Example 114: I'd propose changing the name to |
@MSleepyPanda Good catch 👍
Makes total sense to me, but I suggest keeping |
spec/Section 5 -- Validation.md
Outdated
| **Explanatory Text** | ||
|
|
||
| Field selections on scalars are never allowed: scalars | ||
| Field selections on scalars or enums are never allowed: scalars and enums |
There was a problem hiding this comment.
nit: maybe instead of : scalars and enums write because they are the leaf nodes of any GraphQL query.
|
Great edit, thank you! |
No description provided.