Replies: 4 comments
-
Can you write here an example, please? We can help then with PR. |
Beta Was this translation helpful? Give feedback.
-
GraphQL type:
Generated Go code:
|
Beta Was this translation helpful? Give feedback.
-
Where are they using “%#v”? Are they using this for bool for example? https://github.com/99designs/gqlgen/blob/master/graphql/bool.go |
Beta Was this translation helpful? Give feedback.
-
Who are "they"? We are using %#v because this is the best we can have (for debug logging, for example) in the absence of generated |
Beta Was this translation helpful? Give feedback.
-
Would be nice if gqlgen generated
String()
methods for model types. GraphQL'sBoolean
,Float
,Int
translate into Go's*bool
,*float64
,*int
which are not printed well by Go's"%#v"
formatting.Beta Was this translation helpful? Give feedback.
All reactions