File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ func (b *Bytes) UnmarshalGraphQL(input interface{}) error {
8686 }
8787 * b = data
8888 default :
89- err = fmt .Errorf ("Unexpected type for Bytes: %v " , input )
89+ err = fmt .Errorf ("unexpected type %T for Bytes" , input )
9090 }
9191 return err
9292}
@@ -220,7 +220,7 @@ func (b *Big) UnmarshalGraphQL(input interface{}) error {
220220 num .SetInt64 (int64 (input ))
221221 * b = Big (num )
222222 default :
223- err = fmt .Errorf ("Unexpected type for BigInt: %v " , input )
223+ err = fmt .Errorf ("unexpected type %T for BigInt" , input )
224224 }
225225 return err
226226}
@@ -284,7 +284,7 @@ func (b *Uint64) UnmarshalGraphQL(input interface{}) error {
284284 case int32 :
285285 * b = Uint64 (input )
286286 default :
287- err = fmt .Errorf ("Unexpected type for Long: %v " , input )
287+ err = fmt .Errorf ("unexpected type %T for Long" , input )
288288 }
289289 return err
290290}
You can’t perform that action at this time.
0 commit comments