diff --git a/go.mod b/go.mod index a0e3aec..275a8a9 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module gitlab.com/unboundsoftware/schemas go 1.19 require ( - github.com/99designs/gqlgen v0.17.26 + github.com/99designs/gqlgen v0.17.27 github.com/Khan/genqlient v0.5.0 github.com/alecthomas/kong v0.7.1 github.com/apex/log v1.9.0 diff --git a/go.sum b/go.sum index cf917f8..66ee94e 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ github.com/99designs/gqlgen v0.17.2/go.mod h1:K5fzLKwtph+FFgh9j7nFbRUdBKvTcGnsta51fsMTn3o= -github.com/99designs/gqlgen v0.17.26 h1:fxgSTbPf1G30uWAWSoHd+9gSNMagmP04k58ThJ1/ikQ= -github.com/99designs/gqlgen v0.17.26/go.mod h1:i4rEatMrzzu6RXaHydq1nmEPZkb3bKQsnxNRHS4DQB4= +github.com/99designs/gqlgen v0.17.27 h1:XPsaZiWY1lL2qqVYtBt37GzkyX7bBiVvda7k1buC/Ao= +github.com/99designs/gqlgen v0.17.27/go.mod h1:i4rEatMrzzu6RXaHydq1nmEPZkb3bKQsnxNRHS4DQB4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= diff --git a/graph/model/models_gen.go b/graph/model/models_gen.go index 670bdab..9a178d6 100644 --- a/graph/model/models_gen.go +++ b/graph/model/models_gen.go @@ -13,16 +13,16 @@ type Supergraph interface { type InputSubGraph struct { Ref string `json:"ref"` Service string `json:"service"` - URL *string `json:"url"` - WsURL *string `json:"wsUrl"` + URL *string `json:"url,omitempty"` + WsURL *string `json:"wsUrl,omitempty"` Sdl string `json:"sdl"` } type SubGraph struct { ID string `json:"id"` Service string `json:"service"` - URL *string `json:"url"` - WsURL *string `json:"wsUrl"` + URL *string `json:"url,omitempty"` + WsURL *string `json:"wsUrl,omitempty"` Sdl string `json:"sdl"` ChangedBy string `json:"changedBy"` ChangedAt time.Time `json:"changedAt"` diff --git a/graph/schema.resolvers.go b/graph/schema.resolvers.go index 8389a53..2e347c7 100644 --- a/graph/schema.resolvers.go +++ b/graph/schema.resolvers.go @@ -2,7 +2,7 @@ package graph // 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.26 +// Code generated by github.com/99designs/gqlgen version v0.17.27 import ( "context"