From 13c3d9224b184f8648ff78b6fe860e4dc51aa913 Mon Sep 17 00:00:00 2001 From: Cooper Filby Date: Thu, 17 Oct 2019 09:09:26 -0500 Subject: [PATCH] Update id function --- graphql/id.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql/id.go b/graphql/id.go index 69eaf481a31..2e78a5ec4b2 100644 --- a/graphql/id.go +++ b/graphql/id.go @@ -21,7 +21,7 @@ func UnmarshalID(v interface{}) (string, error) { case int: return strconv.Itoa(v), nil case int64: - return strconv.Itoa(int(v)), nil + return strconv.FormatInt(v, 10), nil case float64: return fmt.Sprintf("%f", v), nil case bool: