Commit db7f386
authored
docs: include name when creating GraphQLEnumValueDefinition (#2078)
### 📝 Description
Was using the docs and this caught me out, you have to set the enum name
when building a new GraphQLEnumValueDefinition otherwise you will
receive `Name must be non-null, non-empty and match
[_A-Za-z][_0-9A-Za-z]* - was 'null'`
### 🔗 Related Issues1 parent 6d24045 commit db7f386
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments