From 9456787a0ecde8b9d51a617fb81249100ac8a819 Mon Sep 17 00:00:00 2001 From: Michael Caulley Date: Thu, 9 Jan 2025 18:41:01 -0500 Subject: [PATCH] chore: bump gqlgen to v0.17.63 and regenerate code --- entgql/internal/todo/ent.resolvers.go | 2 +- entgql/internal/todo/todo.resolvers.go | 2 +- entgql/internal/todofed/entity.resolvers.go | 2 +- entgql/internal/todofed/todo.resolvers.go | 2 +- entgql/internal/todogotype/ent.resolvers.go | 6 +++--- entgql/internal/todogotype/todo.resolvers.go | 2 +- entgql/internal/todopulid/ent.resolvers.go | 2 +- entgql/internal/todopulid/todo.resolvers.go | 2 +- entgql/internal/todouuid/ent.resolvers.go | 2 +- entgql/internal/todouuid/todo.resolvers.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/entgql/internal/todo/ent.resolvers.go b/entgql/internal/todo/ent.resolvers.go index 1efe4af6c..1bd306410 100644 --- a/entgql/internal/todo/ent.resolvers.go +++ b/entgql/internal/todo/ent.resolvers.go @@ -16,7 +16,7 @@ package todo // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/entgql/internal/todo/todo.resolvers.go b/entgql/internal/todo/todo.resolvers.go index 54af1985e..a9273c542 100644 --- a/entgql/internal/todo/todo.resolvers.go +++ b/entgql/internal/todo/todo.resolvers.go @@ -16,7 +16,7 @@ package todo // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/entgql/internal/todofed/entity.resolvers.go b/entgql/internal/todofed/entity.resolvers.go index f253c7d80..21edea8eb 100644 --- a/entgql/internal/todofed/entity.resolvers.go +++ b/entgql/internal/todofed/entity.resolvers.go @@ -16,7 +16,7 @@ package todofed // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/entgql/internal/todofed/todo.resolvers.go b/entgql/internal/todofed/todo.resolvers.go index 425499541..b96066f5d 100644 --- a/entgql/internal/todofed/todo.resolvers.go +++ b/entgql/internal/todofed/todo.resolvers.go @@ -16,7 +16,7 @@ package todofed // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/entgql/internal/todogotype/ent.resolvers.go b/entgql/internal/todogotype/ent.resolvers.go index 9fda23b07..e8e81db38 100644 --- a/entgql/internal/todogotype/ent.resolvers.go +++ b/entgql/internal/todogotype/ent.resolvers.go @@ -16,7 +16,7 @@ package todo // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" @@ -89,12 +89,12 @@ func (r *userResolver) Username(ctx context.Context, obj *ent.User) (string, err } // RequiredMetadata is the resolver for the requiredMetadata field. -func (r *userResolver) RequiredMetadata(ctx context.Context, obj *ent.User) (map[string]interface{}, error) { +func (r *userResolver) RequiredMetadata(ctx context.Context, obj *ent.User) (map[string]any, error) { panic(fmt.Errorf("not implemented")) } // Metadata is the resolver for the metadata field. -func (r *userResolver) Metadata(ctx context.Context, obj *ent.User) (map[string]interface{}, error) { +func (r *userResolver) Metadata(ctx context.Context, obj *ent.User) (map[string]any, error) { panic(fmt.Errorf("not implemented")) } diff --git a/entgql/internal/todogotype/todo.resolvers.go b/entgql/internal/todogotype/todo.resolvers.go index 4e93e0c5d..0d7b1b26b 100644 --- a/entgql/internal/todogotype/todo.resolvers.go +++ b/entgql/internal/todogotype/todo.resolvers.go @@ -16,7 +16,7 @@ package todo // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/entgql/internal/todopulid/ent.resolvers.go b/entgql/internal/todopulid/ent.resolvers.go index 879224d95..1431852de 100644 --- a/entgql/internal/todopulid/ent.resolvers.go +++ b/entgql/internal/todopulid/ent.resolvers.go @@ -16,7 +16,7 @@ package todopulid // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/entgql/internal/todopulid/todo.resolvers.go b/entgql/internal/todopulid/todo.resolvers.go index bed16f07a..3d19a1d31 100644 --- a/entgql/internal/todopulid/todo.resolvers.go +++ b/entgql/internal/todopulid/todo.resolvers.go @@ -16,7 +16,7 @@ package todopulid // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/entgql/internal/todouuid/ent.resolvers.go b/entgql/internal/todouuid/ent.resolvers.go index 2f6caa261..665ab35e6 100644 --- a/entgql/internal/todouuid/ent.resolvers.go +++ b/entgql/internal/todouuid/ent.resolvers.go @@ -16,7 +16,7 @@ package todo // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/entgql/internal/todouuid/todo.resolvers.go b/entgql/internal/todouuid/todo.resolvers.go index a21f35411..1ad5c0fd6 100644 --- a/entgql/internal/todouuid/todo.resolvers.go +++ b/entgql/internal/todouuid/todo.resolvers.go @@ -16,7 +16,7 @@ package todo // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. -// Code generated by github.com/99designs/gqlgen version v0.17.51 +// Code generated by github.com/99designs/gqlgen version v0.17.63 import ( "context" diff --git a/go.mod b/go.mod index 3c6ff9ade..1be883947 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.23.4 require ( entgo.io/ent v0.13.2-0.20240717044502-34158f2c129b - github.com/99designs/gqlgen v0.17.62 // Version v0.17.52 has an issue with ent field collection. Bad commit: https://github.com/99designs/gqlgen/commit/f81239e47a7ebaf1ab276689344e1189f83ac0a0 + github.com/99designs/gqlgen v0.17.63 github.com/AlekSi/pointer v1.1.0 github.com/alecthomas/kong v0.7.0 github.com/go-openapi/inflect v0.19.0 diff --git a/go.sum b/go.sum index 30a777db5..a5bdfe40f 100644 --- a/go.sum +++ b/go.sum @@ -3,8 +3,8 @@ ariga.io/atlas v0.25.1-0.20240717145915-af51d3945208/go.mod h1:KPLc7Zj+nzoXfWshr cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= entgo.io/ent v0.13.2-0.20240717044502-34158f2c129b h1:kC+uzL8UFWwtXQ+yY0wUdvVUgPlJPGU3Fx1uttM8PJA= entgo.io/ent v0.13.2-0.20240717044502-34158f2c129b/go.mod h1:qCEmo+biw3ccBn9OyL4ZK5dfpwg++l1Gxwac5B1206A= -github.com/99designs/gqlgen v0.17.62 h1:Wovt1+XJN9dTWYh92537Y9a5FuMVSkrQL4bn0a8v5Rg= -github.com/99designs/gqlgen v0.17.62/go.mod h1:sVCM2iwIZisJjTI/DEC3fpH+HFgxY1496ZJ+jbT9IjA= +github.com/99designs/gqlgen v0.17.63 h1:HCdaYDPd9HqUXRchEvmE3EFzELRwLlaJ8DBuyC8Cqto= +github.com/99designs/gqlgen v0.17.63/go.mod h1:sVCM2iwIZisJjTI/DEC3fpH+HFgxY1496ZJ+jbT9IjA= github.com/AlekSi/pointer v1.1.0 h1:SSDMPcXD9jSl8FPy9cRzoRaMJtm9g9ggGTxecRUbQoI= github.com/AlekSi/pointer v1.1.0/go.mod h1:y7BvfRI3wXPWKXEBhU71nbnIEEZX0QTSB2Bj48UJIZE= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=