This commit is contained in:
Ben Kraft
2021-04-08 11:28:10 -07:00
parent b8f922a41b
commit e68787ad35
+1
View File
@@ -99,6 +99,7 @@ Fancy features:
Generated code customization:
- add flag(s) to make a field use a pointer (for optionality or perf; see DESIGN)
- omitempty-like thing for optional arguments
- collapsing -- should be able to have `mutation { myMutation { error { code } } }` just return `(code string, err error)`
- map a GraphQL type to a particular Go type (if you want to use a named type for some string, say)
- specify a particular name for a Go type, or for the helper function, or whatever else