diff --git a/graphql/graphql.go b/graphql/graphql.go index dc25a41f21..4c6e5545b5 100644 --- a/graphql/graphql.go +++ b/graphql/graphql.go @@ -65,6 +65,8 @@ func (b *Long) UnmarshalGraphQL(input interface{}) error { *b = Long(input) case int64: *b = Long(input) + case float64: + *b = Long(input) default: err = fmt.Errorf("unexpected type %T for Long", input) }