-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
{{- with .Description }} | ||
{{.|prefixLines "// "}} | ||
{{- end}} | ||
{{ $field.Name|go }} {{$field.Type | ref}} `{{$field.Tag}}` | ||
{{ $field.GoName }} {{$field.Type | ref}} `{{$field.Tag}}` | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ianling
Author
Contributor
|
||
{{- end }} | ||
} | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
ref: #2237 (comment)
@ianling I meant is there a way fall back to
$field.Name|go
here since my code in resolver_gen.go uses that value