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 {
86
86
}
87
87
* b = data
88
88
default :
89
- err = fmt .Errorf ("Unexpected type for Bytes: %v " , input )
89
+ err = fmt .Errorf ("unexpected type %T for Bytes" , input )
90
90
}
91
91
return err
92
92
}
@@ -220,7 +220,7 @@ func (b *Big) UnmarshalGraphQL(input interface{}) error {
220
220
num .SetInt64 (int64 (input ))
221
221
* b = Big (num )
222
222
default :
223
- err = fmt .Errorf ("Unexpected type for BigInt: %v " , input )
223
+ err = fmt .Errorf ("unexpected type %T for BigInt" , input )
224
224
}
225
225
return err
226
226
}
@@ -284,7 +284,7 @@ func (b *Uint64) UnmarshalGraphQL(input interface{}) error {
284
284
case int32 :
285
285
* b = Uint64 (input )
286
286
default :
287
- err = fmt .Errorf ("Unexpected type for Long: %v " , input )
287
+ err = fmt .Errorf ("unexpected type %T for Long" , input )
288
288
}
289
289
return err
290
290
}
You can’t perform that action at this time.
0 commit comments