Go snippets result variable inconsistent with other languages. #1114
Labels
area: go
Issues that related to Go snippets generation
area: snippets-generation
Describes a required fix to the snippet generator
type: enhancement
Enhancement request targeting an existing experience
Describe the bug
C#, Java, and JavaScript all define a result variable that has a name derived from the type. For example, the request in Graph Explorer:
Will result in a snippet like this in C#:
But in Go, it just uses a generic
result
.To Reproduce
Look at the snippets on Graph Explorer for any GET request.
Expected behavior
Go snippets should be consistent with the other languages. I'd expect something like
The text was updated successfully, but these errors were encountered: