diff --git a/go.mod b/go.mod
index 8155adaeb..bd72e1d5e 100644
--- a/go.mod
+++ b/go.mod
@@ -1,7 +1,7 @@
module github.com/stashapp/stash
require (
- github.com/99designs/gqlgen v0.17.2
+ github.com/99designs/gqlgen v0.17.24
github.com/Yamashou/gqlgenc v0.0.6
github.com/anacrolix/dms v1.2.2
github.com/antchfx/htmlquery v1.2.5-0.20211125074323-810ee8082758
@@ -15,7 +15,7 @@ require (
github.com/golang-migrate/migrate/v4 v4.15.0-beta.1
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/sessions v1.2.0
- github.com/gorilla/websocket v1.4.2
+ github.com/gorilla/websocket v1.5.0
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a
github.com/jmoiron/sqlx v1.3.1
github.com/json-iterator/go v1.1.12
@@ -30,16 +30,16 @@ require (
github.com/spf13/afero v1.8.2 // indirect
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.10.1
- github.com/stretchr/testify v1.7.0
+ github.com/stretchr/testify v1.7.1
github.com/tidwall/gjson v1.9.3
github.com/tidwall/pretty v1.2.0 // indirect
github.com/vektra/mockery/v2 v2.10.0
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064
golang.org/x/image v0.0.0-20210220032944-ac19c3e999fb
- golang.org/x/net v0.0.0-20220722155237-a158d28d115b
- golang.org/x/sys v0.0.0-20220808155132-1c4a2a72c664
- golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
- golang.org/x/text v0.3.7
+ golang.org/x/net v0.7.0
+ golang.org/x/sys v0.5.0
+ golang.org/x/term v0.5.0
+ golang.org/x/text v0.7.0
golang.org/x/tools v0.1.12 // indirect
gopkg.in/sourcemap.v1 v1.0.5 // indirect
gopkg.in/yaml.v2 v2.4.0
@@ -57,7 +57,7 @@ require (
github.com/spf13/cast v1.4.1
github.com/vearutop/statigz v1.1.6
github.com/vektah/dataloaden v0.3.0
- github.com/vektah/gqlparser/v2 v2.4.1
+ github.com/vektah/gqlparser/v2 v2.5.1
github.com/xWTF/chardet v0.0.0-20230208095535-c780f2ac244e
gopkg.in/guregu/null.v4 v4.0.0
)
@@ -83,9 +83,8 @@ require (
github.com/josharian/intern v1.0.0 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
- github.com/matryer/moq v0.2.6 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
- github.com/mitchellh/mapstructure v1.4.3 // indirect
+ github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
@@ -100,11 +99,12 @@ require (
github.com/stretchr/objx v0.2.0 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
- github.com/urfave/cli/v2 v2.4.0 // indirect
+ github.com/urfave/cli/v2 v2.8.1 // indirect
+ github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
go.uber.org/atomic v1.7.0 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
- gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
)
replace git.apache.org/thrift.git => github.com/apache/thrift v0.0.0-20180902110319-2566ecd5d999
diff --git a/go.sum b/go.sum
index 25007a2b1..c21e73521 100644
--- a/go.sum
+++ b/go.sum
@@ -50,8 +50,9 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-github.com/99designs/gqlgen v0.17.2 h1:yczvlwMsfcVu/JtejqfrLwXuSP0yZFhmcss3caEvHw8=
github.com/99designs/gqlgen v0.17.2/go.mod h1:K5fzLKwtph+FFgh9j7nFbRUdBKvTcGnsta51fsMTn3o=
+github.com/99designs/gqlgen v0.17.24 h1:pcd/HFIoSdRvyADYQG2dHvQN2KZqX/nXzlVm6TMMq7E=
+github.com/99designs/gqlgen v0.17.24/go.mod h1:BMhYIhe4bp7OlCo5I2PnowSK/Wimpv/YlxfNkqZGwLo=
github.com/Azure/azure-pipeline-go v0.2.3/go.mod h1:x841ezTBIMG6O3lAcl8ATHnsOPVl2bqk7S3ta6S6u4k=
github.com/Azure/azure-storage-blob-go v0.13.0/go.mod h1:pA9kNqtjUeQF2zOSu4s//nUdBD+e64lEuc4sVnuOfNs=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
@@ -63,6 +64,7 @@ github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935
github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8=
github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/ClickHouse/clickhouse-go v1.4.3/go.mod h1:EaI/sW7Azgz9UATzd5ZdZHRUhHgv5+JMS9NSr2smCJI=
github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60=
@@ -396,8 +398,9 @@ github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyC
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
github.com/gorilla/sessions v1.2.0 h1:S7P+1Hm5V/AT9cjEcUD5uDaQSX0OE577aCXgoaKpYbQ=
github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
-github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
+github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
+github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed/go.mod h1:tMWxXQ9wFIaZeTI9F+hmhFiGpFmhOHzyShyFUhRm0H4=
github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M=
@@ -556,8 +559,7 @@ github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsI
github.com/markbates/pkger v0.15.1/go.mod h1:0JoVlrol20BSywW79rN3kdFFsE5xYM+rSCQDXbLhiuI=
github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0=
github.com/matryer/moq v0.2.3/go.mod h1:9RtPYjTnH1bSBIkpvtHkFN7nbWAnO7oRpdJkEIn6UtE=
-github.com/matryer/moq v0.2.6 h1:X4+LF09udTsi2P+Z+1UhSb4p3K8IyiF7KSNFDR9M3M0=
-github.com/matryer/moq v0.2.6/go.mod h1:kITsx543GOENm48TUAQyJ9+SAvFSr7iGQXPoth/VUBk=
+github.com/matryer/moq v0.2.7/go.mod h1:kITsx543GOENm48TUAQyJ9+SAvFSr7iGQXPoth/VUBk=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
@@ -565,6 +567,7 @@ github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVc
github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
+github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E=
github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
@@ -575,6 +578,7 @@ github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcME
github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
+github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
github.com/mattn/go-sqlite3 v1.14.7 h1:fxWBnXkxfM6sRiuH3bqJ4CfzZojMOLVc0UTsTglEghA=
@@ -591,8 +595,9 @@ github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:F
github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
github.com/mitchellh/mapstructure v1.2.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
-github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs=
github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
+github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
+github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
@@ -734,8 +739,9 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/tidwall/gjson v1.9.3 h1:hqzS9wAHMO+KVBBkLxYdkEeeFHuqr95GfClRLKlgK0E=
@@ -748,15 +754,16 @@ github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhso
github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
-github.com/urfave/cli/v2 v2.4.0 h1:m2pxjjDFgDxSPtO8WSdbndj17Wu2y8vOT86wE/tjr+I=
-github.com/urfave/cli/v2 v2.4.0/go.mod h1:NX9W0zmTvedE5oDoOMs2RTC8RvdK98NTYZE5LbaEYPg=
+github.com/urfave/cli/v2 v2.8.1 h1:CGuYNZF9IKZY/rfBe3lJpccSoIY1ytfvmgQT90cNOl4=
+github.com/urfave/cli/v2 v2.8.1/go.mod h1:Z41J9TPoffeoqP0Iza0YbAhGvymRdZAd2uPmZ5JxRdY=
github.com/vearutop/statigz v1.1.6 h1:si1zvulh/6P4S/SjFticuKQ8/EgQISglaRuycj8PWso=
github.com/vearutop/statigz v1.1.6/go.mod h1:czAv7iXgPv/s+xsgXpVEhhD0NSOQ4wZPgmM/n7LANDI=
github.com/vektah/dataloaden v0.3.0 h1:ZfVN2QD6swgvp+tDqdH/OIT/wu3Dhu0cus0k5gIZS84=
github.com/vektah/dataloaden v0.3.0/go.mod h1:/HUdMve7rvxZma+2ZELQeNh88+003LL7Pf/CZ089j8U=
github.com/vektah/gqlparser/v2 v2.4.0/go.mod h1:flJWIR04IMQPGz+BXLrORkrARBxv/rtyIAFvd/MceW0=
-github.com/vektah/gqlparser/v2 v2.4.1 h1:QOyEn8DAPMUMARGMeshKDkDgNmVoEaEGiDB0uWxcSlQ=
github.com/vektah/gqlparser/v2 v2.4.1/go.mod h1:flJWIR04IMQPGz+BXLrORkrARBxv/rtyIAFvd/MceW0=
+github.com/vektah/gqlparser/v2 v2.5.1 h1:ZGu+bquAY23jsxDRcYpWjttRZrUz07LbiY77gUOHcr4=
+github.com/vektah/gqlparser/v2 v2.5.1/go.mod h1:mPgqFBu/woKTVYWyNk8cO3kh4S/f4aRFZrvOnp3hmCs=
github.com/vektra/mockery/v2 v2.10.0 h1:MiiQWxwdq7/ET6dCXLaJzSGEN17k758H7JHS9kOdiks=
github.com/vektra/mockery/v2 v2.10.0/go.mod h1:m/WO2UzWzqgVX3nvqpRQq70I4Z7jbSCRhdmkgtp+Ab4=
github.com/willf/bitset v1.1.9/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
@@ -766,6 +773,8 @@ github.com/xanzy/go-gitlab v0.15.0/go.mod h1:8zdQa/ri1dfn8eS3Ir1SyfvOKlw7WBJ8DVT
github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs=
github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM=
+github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU=
+github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
@@ -774,6 +783,7 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
+github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q=
gitlab.com/nyarla/go-crypt v0.0.0-20160106005555-d9a5dc2b789b/go.mod h1:T3BPAOm2cqquPa0MKWeNkmOM5RQsRhkrwMWonFMN7fE=
go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
@@ -924,8 +934,9 @@ golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
+golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
+golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/oauth2 v0.0.0-20180227000427-d7d64896b5ff/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
@@ -958,6 +969,7 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180224232135-f6cff0780e54/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1050,11 +1062,15 @@ golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220808155132-1c4a2a72c664 h1:v1W7bwXHsnLLloWYTVEdvGvA7BHMeBYsPcF0GLDxIRs=
-golang.org/x/sys v0.0.0-20220808155132-1c4a2a72c664/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
+golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
-golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
+golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY=
+golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -1063,8 +1079,10 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
+golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo=
+golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -1303,6 +1321,7 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlba
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
+google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
@@ -1332,8 +1351,9 @@ gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gorm.io/driver/postgres v1.0.8/go.mod h1:4eOzrI1MUfm6ObJU/UcmbXyiHSs8jSwH95G5P5dxcAg=
gorm.io/gorm v1.20.12/go.mod h1:0HFTzE/SqkGTzK6TlDPPQbAYCluiVvhzoA1+aVyzenw=
gorm.io/gorm v1.21.4/go.mod h1:0HFTzE/SqkGTzK6TlDPPQbAYCluiVvhzoA1+aVyzenw=
diff --git a/tools.go b/tools.go
index adc47d7e9..cb92a06fb 100644
--- a/tools.go
+++ b/tools.go
@@ -5,6 +5,7 @@ package main
import (
_ "github.com/99designs/gqlgen"
+ _ "github.com/99designs/gqlgen/graphql/introspection"
_ "github.com/Yamashou/gqlgenc"
_ "github.com/vektah/dataloaden"
_ "github.com/vektra/mockery/v2"
diff --git a/vendor/github.com/99designs/gqlgen/.gitignore b/vendor/github.com/99designs/gqlgen/.gitignore
index 9fb9693df..cbc986fb5 100644
--- a/vendor/github.com/99designs/gqlgen/.gitignore
+++ b/vendor/github.com/99designs/gqlgen/.gitignore
@@ -14,3 +14,5 @@
.idea/
*.test
*.out
+gqlgen
+*.exe
diff --git a/vendor/github.com/99designs/gqlgen/CHANGELOG.md b/vendor/github.com/99designs/gqlgen/CHANGELOG.md
index af09f4bfe..b0c7ff1e9 100644
--- a/vendor/github.com/99designs/gqlgen/CHANGELOG.md
+++ b/vendor/github.com/99designs/gqlgen/CHANGELOG.md
@@ -5,13 +5,1171 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [Unreleased](https://github.com/99designs/gqlgen/compare/v0.17.1...HEAD)
+## [Unreleased](https://github.com/99designs/gqlgen/compare/v0.17.22...HEAD)
+
+## [v0.17.22](https://github.com/99designs/gqlgen/compare/v0.17.21...v0.17.22) - 2022-12-08
+- d6579466 release v0.17.22
+
+- 9a292299 graphql.Error is not deprecated anymore (#2455)
+
+
a44685b2 Ability to return multiple errors from resolvers raise than add it to stack. (#2454)
+
+* Remove DO NOT EDIT
+
+Sometimes vscode warn about this while editing resolvers code.
+Finally the resolver's code is editable and generated at the same time.
+
+* Ability to return multiple errors from resolver.
+
+* Multiple errors return example
+
+* Fix missing import
+
+* reformat
+
+* gofmt
+
+* go generate ./...
+
+* go generate ./...
+
+* Regenerate
+
+
+* remove trailing period
+
+
+
+db1e3b81 Implicit external check (#2449)
+
+* Prevent entity resolver generation for stub types.
+In Federation 2 key fields are implicitly external
+
+* Add more comments to "isResolvable"
+
+* Check that no resolvers are set for stub "Hello"
+
+* Run generate with go 1.16
+
+* Simplify implicit external check
+
+* Add stricter federation version check.
+Update comment on expected behavior of the resolvable argument.
+Add comment to documentation about external directive.
+
+* Preallocate keyFields slice
+
+* Add non stub type to federation v2 test
+
+* Do not append to preallocated slice
+
+* Add test coverage for multiple fields in key
+
+* Fix typo in comment
+
+
+
+- 5065163c Re-generate and update release checklist to regenerate for new version
+
+- 5cfc22de Add v0.17.21 Release notes
+
+- 5d39046d v0.17.21 postrelease bump
+
+
+
+
+
+
+## [v0.17.21](https://github.com/99designs/gqlgen/compare/v0.17.20...v0.17.21) - 2022-12-03
+- 9deb8381 release v0.17.21
+
+5c083c79 use goField directive for getters generation (#2447)
+
+* consider goField directive for getters generation
+
+* Re-generate to pass linting
+
+
+
+463d2134 fix: safe http error response (#2438)
+
+* safe http error when parsing body
+
+* fix tests
+
+* fix linting
+
+* fix linting
+
+* Dispatch decoding errors so hook can present them
+
+
+* Revert test expectation to original
+
+
+
+86c144fc Bump decode-uri-component from 0.2.0 to 0.2.2 in /integration (#2445)
+
+Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
+- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
+- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
+
+---
+updated-dependencies:
+- dependency-name: decode-uri-component
+ dependency-type: indirect
+...
+
+
+
+f28ffccd Bump minimatch from 3.0.4 to 3.1.2 in /integration (#2435)
+
+Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
+- [Release notes](https://github.com/isaacs/minimatch/releases)
+- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)
+
+---
+updated-dependencies:
+- dependency-name: minimatch
+ dependency-type: indirect
+...
+
+
+
+- e3af4459 docs : embedding schema in generated code (#2351)
+
+efb31b54 Check if go.mod exists while init (#2432)
+
+* Add check go.mod first to prevent cascade errors in "init" directive
+
+* Fix formatting
+
+* Fix formatting with gofmt
+
+
+
+This reverts commit c23d183d9da4e33993e600beefcccd1fc4ec6264.
+
+
+* Adjust go.mod file to look in parent directories as well
+
+
+
+89e91da1 Add resolver commit (#2434)
+
+* Add resolver commit
+
+* Add version to comment and re-generate
+
+
+
+- 3087cf3a Fix for #1274. (#2411)
+
+906c0dee optional return pointers in unmarshalInput (#2397)
+
+* optional return pointers in unmarshalInput
+
+* add docs for return_pointers_in_unmarshalinput
+
+
+
+a9d06036 Add json.Number support to UnmarshalString (#2396)
+
+* Add json.Number support to UnmarshalString
+
+* Add UnmarshalString tests
+
+* Remove trailing zeros when calling UnmarshalString with float64
+
+
+
+daa44079 Update README.md (#2391)
+
+fix: execute gqlgen generate command error. eg: systems failed: unable to build object definition: unable to find type: github.com/99designs/gqlgen/graphql/introspection.InputValue. need import github.com/99designs/gqlgen/graphql/introspection .
+
+
+
+419dd96c Bump got and [@graphql](https://github.com/graphql)-codegen/cli in /integration (#2389)
+
+Removes `got`
+
+- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
+- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md)
+
+---
+updated-dependencies:
+- dependency-name: got
+ dependency-type: indirect
+ dependency-type: direct:development
+...
+
+
+
+- b1ca215a Add global typescript (#2390)
+
+265888c6 Bump jsdom and jest in /integration (#2388)
+
+Bumps [jsdom](https://github.com/jsdom/jsdom) and [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest). These dependencies needed to be updated together.
+
+Removes `jsdom`
+
+Updates `jest` from 24.9.0 to 29.0.3
+- [Release notes](https://github.com/facebook/jest/releases)
+- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
+- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/jest)
+
+---
+updated-dependencies:
+- dependency-name: jsdom
+ dependency-type: indirect
+- dependency-name: jest
+ dependency-type: direct:development
+...
+
+
+
+56f6db04 Update module mitchellh/mapstructure to 1.5.0 (#2111)
+
+* Update mitchellh/mapstructure
+
+
+* Avoid double pointer
+
+
+
+- ea9590a4 update changelog for v0.17.20
+
+- 4c06e6c6 v0.17.20 postrelease bump
+
+
+
+
+
+
+## [v0.17.20](https://github.com/99designs/gqlgen/compare/v0.17.19...v0.17.20) - 2022-09-19
+- 0e4cbd10 release v0.17.20
+
+12ae8ffa Update go-colorable and x/tools. (#2382)
+
+This picks up a new 2022 version of golang.org/x/sys which is caused by
+https://github.com/golang/go/issues/49219 and is needed to fix building
+using Go 1.18 on aarch64-darwin.
+
+
+
+68136ffb Update diagram in documentation (#2381)
+
+The diagram wasn't rendering properly in Go docs, which was a shame because it's a great diagram. This PR fixes that by indenting it another space.
+
+
+
+- d29d098f fix field merging behavior for fragments on interfaces (#2380)
+
+- 6bb31862 Update changelog for v0.17.19
+
+- bb7fbc0f v0.17.19 postrelease bump
+
+
+
+
+
+
+## [v0.17.19](https://github.com/99designs/gqlgen/compare/v0.17.18...v0.17.19) - 2022-09-15
+- 588c6ac1 release v0.17.19
+
+- c6713170 v0.17.18 postrelease bump
+
+
+
+
+
+
+## [v0.17.18](https://github.com/99designs/gqlgen/compare/v0.17.17...v0.17.18) - 2022-09-15
+- 1d41c808 release v0.17.18
+
+- 4dbe2e47 update graphiql to 2.0.7 (#2375)
+
+b7cc094a testfix: make apollo federated tracer test more consistent (#2374)
+
+* Update tracing_test.go
+
+* add missing imports
+
+
+
+- d096fb9b Update directives (#2371)
+
+- 1acfea2f Add v0.17.17 changelog
+
+- c273adc8 v0.17.17 postrelease bump
+
+
+
+
+
+
+## [v0.17.17](https://github.com/99designs/gqlgen/compare/v0.17.16...v0.17.17) - 2022-09-13
+- d50bc5ac release v0.17.17
+
+462025b4 nil check error before type assertion follow-up from #2341 (#2368)
+
+* Improve errcode.Set safety
+
+
+
+59493aff fix: apollo federation tracer was race prone (#2366)
+
+The tracer was using a global state across different goroutines
+Added req headers to operation context to allow it to be fetched in InterceptOperation
+
+
+
+- fc018556 Update gqlparser to v2.5.1 (#2363)
+
+- 56574a14 feat: make Playground HTML content compatible with UTF-8 charset (#2355)
+
+182b039d Add `subscriptions.md` recipe to docs (#2346)
+
+* Add `subscriptions.md` recipe to docs
+
+* Fix wrong request type
+
+
+
+- b66fff16 Add omit_getters config option (#2348)
+
+- 2ba8040f Update changelog for v0.17.16
+
+- 8bef8c80 v0.17.16 postrelease bump
+
+
+
+
+
+
+## [v0.17.16](https://github.com/99designs/gqlgen/compare/v0.17.15...v0.17.16) - 2022-08-26
+- 9593cead release v0.17.16
+
+- 2390af2d Update gqlparser to v2.5.0 (#2341)
+
+- 2a87fe06 feat: update Graphiql to version 2 (#2340)
+
+32e2ccd3 Update yaml to v3 (#2339)
+
+* update yaml to v3
+
+* add missing go entry for yaml on _example
+
+* add missing sum file
+
+
+
+- 7949117a v0.17.15 postrelease bump
+
+
+
+
+
+
+## [v0.17.15](https://github.com/99designs/gqlgen/compare/v0.17.14...v0.17.15) - 2022-08-23
+- 23cc7492 release v0.17.15
+
+- 577a570c Markdown formatting fixes (#2335)
+
+2b584011 Fix Interface Slice Getter Generation (#2332)
+
+* Make modelgen test fail if generated doesn't build
+Added returning list of interface to modelgen test schema
+
+* Implement slice copying when returning interface slices
+
+* Re-generate to satisfy the linter
+
+
+
+aee57b4c Correct boolean logic (#2330)
+
+Correcting boolean logic issue
+
+
+
+- da0610e1 Update changelog for v0.17.14
+
+- ddcb524e v0.17.14 postrelease bump
+
+
+
+
+
+
+## [v0.17.14](https://github.com/99designs/gqlgen/compare/v0.17.13...v0.17.14) - 2022-08-18
+- 581bf6eb release v0.17.14
+
+- d3384377 Update gqlparser
+
+- c2d02d35 More descriptive `not implemented` stubs (#2328) (closes #2327)
+
+9f919d2c Avoid GraphQL to Go Naming Collision with "ToGoModelName" func (#2322) (closes #2321)
+
+* using ReplaceAllStringLiteral
+
+* fixing wordInfo template test
+
+* bumping linter timeout to 5m
+
+* comment cleanup
+
+* some cleanup, adding "ToGoPrivateModelName" func
+
+* adding "ToGoPrivateModelName" func
+
+* refactoring word walker impl and tests
+
+* hopefully making linter happy
+
+
+
+- 2304c104 Include docstrings on interface getters (#2317)
+
+- f5d60326 Leverage (*Imports).LookupType when generating interface field getters (#2315)
+
+242c3ba2 Generate getters for interface fields (#2314)
+
+* Generate getters for interface fields
+
+* Changes to make models_test.go pass
+
+* Use text/template, not html/template
+
+* Re-run go generate ./...
+
+* gofmt a few files that were failing lint checks
+
+* Another gofmt straggler
+
+* Try making the "generated" match the exact whitespace github is disliking
+
+
+
+- 0d91c893 Add hackernews graphql api tutorial to other resources (#2305)
+
+- c2526ba5 Update gqlparser to v2.4.7 (#2300)
+
+- f283124d #2298: fix gqlgen extracting module name from comment line (#2299)
+
+779d7cdd Add support for KeepAlive message in websocket client (#2293)
+
+* Add support for KeepAlive message in websocket client
+
+* rewrite if-else to switch statement
+
+
+
+- 5a37d1dc v0.17.13 postrelease bump
+
+
+
+
+
+
+## [v0.17.13](https://github.com/99designs/gqlgen/compare/v0.17.12...v0.17.13) - 2022-07-15
+- e82b6bf1 release v0.17.13
+
+f0e9047d Hide dependencies in `tools.go` from importers (#2287)
+
+Projects that use `go mod vendor` will vendor `github.com/matryer/moq`
+despite it not being required at runtime.
+
+Moving `tools.go` to `internal` hides this import from downstream
+users and avoids `github.com/matryer/moq` being vendored.
+
+`go generate` of the mocks still works as expected.
+
+The assumption behind the import test broke, so I've pointed it at a
+different path that has no Go code. This seems to match the intent
+behind the original test for the `internal/code/..` path.
+
+
+
+- 6310e6a7 support named interface to Field.CallArgs (#2289)
+
+30493696 fix: return the original error (#2288)
+
+* fix: return the original error
+
+close https://github.com/99designs/gqlgen/issues/2286
+
+* Update error.go
+
+
+
+- fb13091d updated WebSocker InitFunc recipe (#2275)
+
+- 770c09fb Update changelog for v0.17.12
+
+- b4c186a7 v0.17.12 postrelease bump
+
+
+
+
+
+
+## [v0.17.12](https://github.com/99designs/gqlgen/compare/v0.17.11...v0.17.12) - 2022-07-04
+- 94c02b0d release v0.17.12
+
+- 7eb8ba93 Fix CreateTodo (#2256)
+
+0b0e5ce4 Replace use of strings.Title with cases.Title (#2268)
+
+* github: Test more go versions
+
+* github: Fix ci tests
+
+* github: Increase verbosity, sleep
+
+* github: Drop bash
+
+* github: Test go 1.18 and newer node verisons
+
+* github: Pull out node 16 for now
+
+* github: Only lint 1.16 for now
+
+* cases: Use cases.Title over strings.Title which is deprecated
+
+* gqlgen: Remove use of deprecated strings.Title
+
+
+
+- 0c11e5fd parse at beginning of do function (#2269)
+
+- edb1c585 Update Changelog for v0.17.11
+
+- 5e6b52fd v0.17.11 postrelease bump
+
+
+
+
+
+
+## [v0.17.11](https://github.com/99designs/gqlgen/compare/v0.17.10...v0.17.11) - 2022-07-03
+- ea294c4e release v0.17.11
+
+- 8ebf75c1 Update gqlparser (#2270)
+
+b8497f52 github: Fix CI pipelines (#2266)
+
+* github: Test more go versions
+
+* github: Fix ci tests
+
+* github: Increase verbosity, sleep
+
+* github: Drop bash
+
+* github: Test go 1.18 and newer node verisons
+
+* github: Pull out node 16 for now
+
+* github: Only lint 1.16 for now
+
+
+
+c287a7b0 codegen: fix resolvers execution order (#2267)
+
+* codegen: fix run order of resolver
+
+
+* fix: update code generate
+
+* fix: update stub, root to generate resolver for input
+
+* fix: added unit-test for input field order
+
+* fix: added test for singlefile
+
+
+
+8481457f gqlgen: Add resolver comment generation and preservation (#2263)
+
+* gqlgen: Add resolver comment generation and preservation
+
+* gqlgen: Regenerate
+
+
+
+- 532d46af Make uploads content seekable (#2247)
+
+34bbc450 Use the go:embed API to lookup templates (#2262)
+
+* Switch the templates package internally to read from TemplateFS
+
+Users are expected to pass in the FS by using the embed API.
+
+* Update all usages of templates.Render to use the TemplateFS option
+
+* Fix unit tests
+
+* Fix linter error
+
+* Commit generated changes
+
+Doesn't look like anything has changed though. Maybe just a different
+whitespace character.
+
+* Fix test
+
+
+
+53ca207a Fix PR links in CHANGELOG.md (#2257)
+
+* fix "PR" regex in CHANGELOG-full-history.tpl.md
+
+* regenerate CHANGELOG.md
+
+
+
+53ada82e Replace deprecated ioutil pkg with os & io (#2254)
+
+As of Go 1.16, the same functionality is now provided by package io or
+package os, and those implementations should be preferred in new code.
+
+So replacing all usage of ioutil pkg with io & os.
+
+
+
+- a8f112e0 update changelog
+
+- 82fbbe41 v0.17.10 postrelease bump
+
+
+
+
+
+
+## [v0.17.10](https://github.com/99designs/gqlgen/compare/v0.17.9...v0.17.10) - 2022-06-13
+- 4ff9ea92 release v0.17.10
+
+- cac4f404 update gqlparser (#2239)
+
+- d07ec12d Use exact capitalization from field names overridden in config (#2237)
+
+- 3a640782 fix: #2234 (#2235) Response.Errors in DispatchError function is not PresentedError
+
+c355df9e fix #1876: Optional Any type should allow nil values (#2231)
+
+* Anonymous func that checks value of arg type interface for nil
+
+* Added unit test for `CallArgs()`
+
+* Fixed type of argument in unit test
+
+
+
+- 65e68108 Add config boolean for whether resolvers return pointers (#2175)
+
+- ddd825ef Only make cyclical struct fields pointers (#2174)
+
+- 5a87fe29 Update websocket.go (#2223)
+
+- e2edda5d Update dataloaders.MD (#2221)
+
+- 3de7d2cf fix: chat example frontend race condition (#2219)
+
+- 11f40572 Update Changelog
+
+- caca01fb v0.17.9 postrelease bump
+
+
+
+
+
+
+## [v0.17.9](https://github.com/99designs/gqlgen/compare/v0.17.8...v0.17.9) - 2022-05-26
+- 7f0611b2 release v0.17.9
+
+- 738209b2 Update gqlparser (#2216)
+
+6855b729 fix: prevent goroutine leak and CPU spinning at websocket transport (#2209) (closes #2168)
+
+* Added goroutine leak test for chat example
+
+* Improved chat example with proper concurrency
+
+
+This reverts commit eef7bfaad1b524f9e2fc0c1150fdb321c276069e.
+
+* Improved subscription channel usage
+
+* Regenerated examples and codegen
+
+* Add support for subscription keepalives in websocket client
+
+* Update chat example test
+
+* if else chain to switch
+
+
+* Revert "Add support for subscription keepalives in websocket client"
+
+This reverts commits 64b882c3c9901f25edc0684ce2a1f9b63443416b and 670cf22272b490005d46dc2bee1634de1cd06d68.
+
+* Fixed chat example race condition
+
+* Fixed chatroom#Messages type
+
+
+
+5f5bfcb9 fix #2204 - don't try to embed builtin sources (#2214)
+
+* don't try to embed builtins
+
+* add test
+
+* generated code
+
+* fix error message string
+
+
+
+- 8d9d3f12 Check only direct dependencies (#2205)
+
+- b262e40a v0.17.8 postrelease bump
+
+
+
+
+
+
+## [v0.17.8](https://github.com/99designs/gqlgen/compare/v0.17.7...v0.17.8) - 2022-05-25
+- 25367e0a release v0.17.8
+
+- 5a56b69d Add security workflow with nancy (#2202)
+
+- 482f4ce0 Run CI tests on windows (#2199)
+
+- 656045d3 This works on Windows too! (#2197)
+
+- f6aeed60 Merge branch 'master' of github.com:99designs/gqlgen
+
+- d91080be Update changelog
+
+- 752d2d7e v0.17.7 postrelease bump
+
+
+
+
+
+
+## [v0.17.7](https://github.com/99designs/gqlgen/compare/v0.17.6...v0.17.7) - 2022-05-24
+- 2b1dff1b release v0.17.7
+
+- b2087f94 Update module dependencies (#2192)
+
+8825ac46 Fix misprint (#2187)
+
+* Fix misprint
+
+* Fix misprint
+
+* Re-generate
+
+
+
+- 41daa5d8 fix #2190 - don't use backslash for "embed" paths on windows (#2191)
+
+- 0cce5544 Update Changelog
+
+- 26644541 v0.17.6 postrelease bump
+
+
+
+
+
+
+## [v0.17.6](https://github.com/99designs/gqlgen/compare/v0.17.5...v0.17.6) - 2022-05-23
+- 358d45dc release v0.17.6
+
+- 7c95938c Improve operation error handling (#2184)
+
+- 2526f687 Correct identation (#2182)
+
+f7bf453c Bump dset from 3.1.1 to 3.1.2 in /integration (#2176)
+
+Bumps [dset](https://github.com/lukeed/dset) from 3.1.1 to 3.1.2.
+- [Release notes](https://github.com/lukeed/dset/releases)
+- [Commits](https://github.com/lukeed/dset/compare/v3.1.1...v3.1.2)
+
+---
+updated-dependencies:
+- dependency-name: dset
+ dependency-type: indirect
+...
+
+
+
+4cdf7026 Update getting-started.md (#2157)
+
+Fix getting-started missing fields resolver config
+
+
+
+- eef7bfaa fix: prevents goroutine leak at websocket transport (#2168)
+
+- b8ec51d8 go: update gqlparser to latest (#2149)
+
+- ec3e597e Fix docs bug in field collection (#2141)
+
+f6b35231 Add argument to WebsocketErrorFunc (#2124)
+
+* Add argument to WebsocketErrorFunc
+
+to determine whether the error ocured on read or write to the websocket.
+
+* Wrap websocket error
+
+
+
+- 0f016df3 Fix invalid query parameter for playground subscription endpoint (#2148)
+
+fb5751ab use "embed" in generated code (#2119)
+
+* use "embed" in generated code
+
+* don't use embed for builtins
+
+* working poc
+
+* handle no embeddable sources
+
+* fix dir
+
+* comment
+
+* add test for embedding
+
+* improve error handling
+
+
+
+d38911f1 Allow absolute https://github.com/99designs/gqlgens to the GraphQL playground (#2142)
+
+* Allow absolute URLs to the GraphQL playground
+
+* Add test for playground URLs
+
+* Close res.Body in playground test
+
+
+
+3228f36f Update getting-started.md (#2140)
+
+* Update getting-started.md
+
+function rand.Int requires two parameters and returns two value in golang version 1.18.1.
+
+* Highlight the package used so people don't pick crypto/rand
+
+* Revert to original
+
+* Remove extra space
+
+
+
+33fe0b9b Update package.json (#2138)
+
+I added `graphql-ws` because there is no graphql-ws in package.json
+
+
+
+f8e837b8 Use MultipartReader to parse file uploads (#2135)
+
+Use a streaming MultipartReader to parse requests with file
+uploads. The GraphQL multipart request specification guarantees
+that the operations and map form fields will come first.
+
+There are two reasons motivating this change:
+
+- This allows for file uploads without specifying a specific
+ filename.
+- This avoids unnecessary copies for requests with more than one
+ file. Go's ParseForm already copies the request's body into
+ memory or on disk. We were also doing this manually as a second
+ step.
+
+
+
+- 05bfc1fb Upddate Changelog
+
+- 62f694f0 v0.17.5 postrelease bump
+
+
+
+
+
+
+## [v0.17.5](https://github.com/99designs/gqlgen/compare/v0.17.4...v0.17.5) - 2022-04-29
+- fd97e74e release v0.17.5
+
+9250f9ac Feature: Add FTV1 Support via Handler (#2132)
+
+* initial support for ftv1 traces via handler
+
+* remove testing json extension
+
+* remove binary from commit and add to .gitignore
+
+* updating go.mod
+
+* updating examples go.sum
+
+* rerunning generate within the examples folder
+
+
+
+fce3a11a feat: added graphql.UnmarshalInputFromContext (#2131)
+
+* feat: added graphql.UnmarshalInputFromContext
+
+* chore: run go generate for _examples
+
+* fix: apply suggestions from code review
+
+
+* fix: update error cases
+
+* fix: fixed unit-test by update root_.gotpl
+
+* fix: apply suggestions from code review
+
+* fix: update graphql/input.go
+
+
+
+6a24e881 update instructions to specify package of Role (#2130)
+
+Can't compile with the example unless I also include `model.` for Role.
+
+
+
+- ccfa245b Ignore protobuf files in coverage (#2133)
+
+- 0465dcb1 Update federation.md (#2129)
+
+- 8f0631dc Update Changelog
+
+- 41611560 v0.17.4 postrelease bump
+
+
+
+
+
+
+## [v0.17.4](https://github.com/99designs/gqlgen/compare/v0.17.3...v0.17.4) - 2022-04-25
+- d6de831a release v0.17.4
+
+2a2a3dcb Feature: Adds Federation 2 Support (#2115)
+
+* fed2 rough support
+
+* autodetection of fed2
+
+* adding basic tests for changes
+
+* fixing docs
+
+* Update plugin/federation/federation.go
+
+* removing custom scalar since it was causing issues
+
+* fixing lint test
+
+* should fix for real this time
+
+* fixing test failures
+
+
+
+77260e88 shorten some generated code (#2120)
+
+* shorten some generated code
+
+* generate examples
+
+
+
+4da17e1c update modules except mapstructure (#2118)
+
+* Update modules
+
+
+* Update modules except for mapstructure
+
+
+* Try to update to v1.3.1
+
+
+
+- cddbf02d Update Changelog file
+
+- 8f80f4ef v0.17.3 postrelease bump
+
+
+
+
+
+
+## [v0.17.3](https://github.com/99designs/gqlgen/compare/v0.17.2...v0.17.3) - 2022-04-20
+- 0bb262d1 release v0.17.3
+
+8d0bd22a Update gqlparser (#2109)
+
+* Update gqlparser
+
+
+* Update tests to be NoError
+
+
+
+ec0dea88 Fix the ability of websockets to get errors (#2097)
+
+Because DispatchOperation creates tempResponseContext,
+which is passed into Exec, which is then used in _Subscription to
+generate the next function. Inside the various subscription functions
+when generating next the context was captured there.
+
+Which means later when the returned function from DispatchOperation is
+called. The responseContext which accumulates the errors is the
+tempResponseContext which we no longer have access to to read the errors
+out of it.
+
+Instead add a context to next() so that it can be passed through and
+accumulated the errors as expected.
+
+Added a unit test for this as well.
+
+
+
+e3f04b42 Change the error message to be consumer targeted (#2096)
+
+* Change the error message to be slightly more clear
+
+* Rebase on updated origin/master.
+
+Fix the test to not be sensitive to array ordering.
+Re-generate on master as there was a schema change.
+
+
+
+5a497649 Fix websocket subscriptions to not double close. (#2095)
+
+We were closing at the end of the loop and also in the defer.
+
+
+
+- a15a9bfd Update test.yml to be valid
+
+a1538928 Use Github API to update the docs (#2101)
+
+* Use Github API to update the docs
+
+Instead of a hard-coded version of the docs we want to realease, this
+uses the Github API to get the last 20 versions and publish those. This
+will allow any script invoking this to make sure to always have the
+latest version of the docs
+
+* Reinstate set -e
+
+
+
+- 3bf437c2 Update golangci-lint (#2103)
+
+12c6d0bf Fix misprint (#2102)
+
+* Fix misprint
+
+* Update websocket_graphql_transport_ws.go
+
+
+
+9f5fad13 Bump minimist from 1.2.5 to 1.2.6 in /integration (#2085)
+
+Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
+- [Release notes](https://github.com/substack/minimist/releases)
+- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
+
+---
+updated-dependencies:
+- dependency-name: minimist
+ dependency-type: indirect
+...
+
+
+
+035e1d6e Add AllowedMethods field to transport.Options (#2080)
+
+* Add AllowedMethods field to transport.Options
+
+to enable users to specify allowed HTTP methods.
+
+* Update graphql/handler/transport/options.go
+
+
+
+- f0fdb116 Add instructions for enabling autobinding (#2079)
+
+12b0b385 Bump Playground version (#2078)
+
+* update playground
+
+* enables tabs
+
+* update shas
+
+
+
+1324c3ff Merge pull request #2062 from a8m/childfield
+
+graphql: add FieldContext.Child field function and enable it in codegen
+
+
+
+- bf9caeae graphql: add FieldContext.ChildArgs field and enable it in codegen
+
+- 36fb3dc6 codegen: allow binding methods with optional variadic arguments (#2066)
+
+- fba5edd4 Update Changelog
+
+- 48b2b7e1 v0.17.2 postrelease bump
+
+
+
+
+
+
+## [v0.17.2](https://github.com/99designs/gqlgen/compare/v0.17.1...v0.17.2) - 2022-03-21
+- 1f04d38a release v0.17.2
+
+- 87fc5f22 Fix #1961 for Go 1.18 (#2052)
+
+- f85d59d3 fixed modelgen test schema (#2032)
+
+- d873ff8b v0.17.1 postrelease bump
+
+
+
+
+
## [v0.17.1](https://github.com/99designs/gqlgen/compare/v0.17.0...v0.17.1) - 2022-03-02
-9f520a28 Update golangci-lint and fix resource leak (#2024)
+- 5ea50aee release v0.17.1
+
+- a493a423 Prepare for new release
+
+9f520a28 Update golangci-lint and fix resource leak (#2024)
* Fix golangci-lint in CI
@@ -19,7 +1177,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-- 74baaa14 fixed model gen for multiple implemented type (#2021)
+- 74baaa14 fixed model gen for multiple implemented type (#2021)
- d31cf6be v0.17.0 postrelease bump
@@ -31,19 +1189,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [v0.17.0](https://github.com/99designs/gqlgen/compare/v0.16.0...v0.17.0) - 2022-03-01
- e4be5651 release v0.17.0
-082bbff6 Revert "Update quickstart (#1850](https://github.com/99designs/gqlgen/issues/1850))" ([#2014)
+082bbff6 Revert "Update quickstart (#1850)" (#2014)
This reverts commit 0ab636144bfc875f86e4d9fd7a2686bc57d5050c.
-- a58411b8 Embed templates instead of inlining them (#2019)
+- a58411b8 Embed templates instead of inlining them (#2019)
-- 839b50df Test gqlgen generate in CI (#2017)
+- 839b50df Test gqlgen generate in CI (#2017)
-- 00dc14ad Remove ambient imports (#2016)
+- 00dc14ad Remove ambient imports (#2016)
-45e192ea Clean up docs to clarify how to use a particular version (#2015) (closes #1851)
+45e192ea Clean up docs to clarify how to use a particular version (#2015) (closes #1851)
This reverts commit 57a148f6d12572fe585ecfcafafbb7441dbf9cab.
@@ -55,7 +1213,7 @@ This reverts commit 57a148f6d12572fe585ecfcafafbb7441dbf9cab.
- 3a9413f7 Fix issue template
-5236fb09 fix introspection for description to be nullable (#2008)
+5236fb09 fix introspection for description to be nullable (#2008)
* fixed introspection for description to be nullable
@@ -69,7 +1227,7 @@ This reverts commit 57a148f6d12572fe585ecfcafafbb7441dbf9cab.
-82fefdb5 support to generate model for intermediate interface (#1982)
+82fefdb5 support to generate model for intermediate interface (#1982)
* support to generate model for intermediate interface
@@ -79,7 +1237,7 @@ This reverts commit 57a148f6d12572fe585ecfcafafbb7441dbf9cab.
-3ec83635 Bump ajv from 6.10.2 to 6.12.6 in /integration (#2007)
+3ec83635 Bump ajv from 6.10.2 to 6.12.6 in /integration (#2007)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
@@ -93,7 +1251,7 @@ updated-dependencies:
-9546de2c Web Socket initialization message timeout (#2006)
+9546de2c Web Socket initialization message timeout (#2006)
* Added an optional timeout to the web socket initialization message read operation.
@@ -101,7 +1259,7 @@ updated-dependencies:
-f6ea6230 fixed introspection for schema description and specifiedByhttps://github.com/99designs/gqlgen (#1986)
+f6ea6230 fixed introspection for schema description and specifiedByhttps://github.com/99designs/gqlgen (#1986)
* fixed introspection for schema description and specifiedByURL
@@ -133,13 +1291,13 @@ updated-dependencies:
-- f17ca15e Fix broken links in docs (#1983) (closes #1734)
+- f17ca15e Fix broken links in docs (#1983) (closes #1734)
-- a0c856b7 Added a callback error handling function to the websocket and added tests for it. (#1975)
+- a0c856b7 Added a callback error handling function to the websocket and added tests for it. (#1975)
-- cfea9f07 generate resolvers for input types (#1950)
+- cfea9f07 generate resolvers for input types (#1950)
-ffa857ef Websocket i/o timeout fix (#1973)
+ffa857ef Websocket i/o timeout fix (#1973)
* Renamed "pingMesageType" to "pingMessageType" and refactored websocket_graphqlws.go to look more like websocket_graphql_transport_ws.go for the sake of consistency.
@@ -149,13 +1307,13 @@ updated-dependencies:
-d7da5b0d Merge pull request #1958 from 99designs/cleanup-main
+d7da5b0d Merge pull request #1958 from 99designs/cleanup-main
Cleanup main
-42f32432 Merge pull request #1957 from 99designs/move-init-ci
+42f32432 Merge pull request #1957 from 99designs/move-init-ci
Upate init CI step
@@ -165,9 +1323,9 @@ Upate init CI step
- 8ea290c0 Upate init CI step
-- 56bfb188 Fix 1955: only print message on @key](https://github.com/key) found on interfaces ([#1956)
+- 56bfb188 Fix 1955: only print message on [@key](https://github.com/key) found on interfaces (#1956)
-213a085b rename "example" dir to "_examples" (#1734)
+213a085b rename "example" dir to "_examples" (#1734)
* rename "example" dir to "_examples"
@@ -177,7 +1335,7 @@ Upate init CI step
-9262b358 fix: typo in dataloader code sample (#1954)
+9262b358 fix: typo in dataloader code sample (#1954)
* fix: typo in dataloader code sample
@@ -185,9 +1343,9 @@ Upate init CI step
-- a0543733 remove autobind example (#1949)
+- a0543733 remove autobind example (#1949)
-06bbca37 docs: migrate dataloaders sample to graph-gophers/dataloader (#1871)
+06bbca37 docs: migrate dataloaders sample to graph-gophers/dataloader (#1871)
* docs: add dataloader sample
@@ -211,15 +1369,15 @@ Upate init CI step
-f9fcfa16 Comment out autobind in the sample config file (#1872)
+f9fcfa16 Comment out autobind in the sample config file (#1872)
The reason is that many people using it for the first time copy exactly that configuration example and then open the issues to say it doesn't work.
-- a30b68de fix: whitelist VERSION and CURRENT_VERSION env vars (#1870)
+- a30b68de fix: whitelist VERSION and CURRENT_VERSION env vars (#1870)
-76a533b8 Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.8 (#1858)
+76a533b8 Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.8 (#1858)
* Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.8
@@ -238,7 +1396,7 @@ updated-dependencies:
-eed4301c Bump node-fetch from 2.6.1 to 2.6.7 in /integration (#1859)
+eed4301c Bump node-fetch from 2.6.1 to 2.6.7 in /integration (#1859)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
@@ -252,15 +1410,15 @@ updated-dependencies:
-- 7f5dce6d Fix #1776](https://github.com/99designs/gqlgen/issues/1776) : Edit and persist headers in GraphiQL ([#1856)
+- 7f5dce6d Fix #1776 : Edit and persist headers in GraphiQL (#1856)
-- e0b42f99 fix requires directive with nested field when entityResolver directive is used (#1863)
+- e0b42f99 fix requires directive with nested field when entityResolver directive is used (#1863)
-- 25c2cdcb Fix #1636](https://github.com/99designs/gqlgen/issues/1636) by updating gqlparser ([#1857)
+- 25c2cdcb Fix #1636 by updating gqlparser (#1857)
-- c161ab38 fix #1770](https://github.com/99designs/gqlgen/issues/1770) minor error in getting-started.md ([#1771)
+- c161ab38 fix #1770 minor error in getting-started.md (#1771)
-57a148f6 Remove outdated version reference so example is always for latest (#1851)
+57a148f6 Remove outdated version reference so example is always for latest (#1851)
* Also update version reference to next
@@ -268,9 +1426,9 @@ updated-dependencies:
-- 0ab63614 Update quickstart (#1850)
+- 0ab63614 Update quickstart (#1850)
-a8eba26d Fix #1777](https://github.com/99designs/gqlgen/issues/1777) by updating version constant and adding release checklist ([#1848)
+a8eba26d Fix #1777 by updating version constant and adding release checklist (#1848)
* Revise to use script 🤦
@@ -284,11 +1442,11 @@ updated-dependencies:
## [v0.16.0](https://github.com/99designs/gqlgen/compare/v0.15.1...v0.16.0) - 2022-01-24
- b90f9750 Merge branch 'master' of github.com:99designs/gqlgen
-- 99523e44 Prepare for v0.16.0 release (#1842)
+- 99523e44 Prepare for v0.16.0 release (#1842)
- 0563146c Prepare for v0.16.0 release
-7cefef26 add PrependPlugin (#1839)
+7cefef26 add PrependPlugin (#1839)
* add PrependPlugin
@@ -298,13 +1456,13 @@ related: https://github.com/99designs/gqlgen/pull/1838
-972878a0 Revert "Fix plugin addition (#1717](https://github.com/99designs/gqlgen/issues/1717))" ([#1838)
+972878a0 Revert "Fix plugin addition (#1717)" (#1838)
This reverts commit f591c8f797e35635fb5eb0e4465c77b6a073896b.
-1ed7e050 Fix #1832](https://github.com/99designs/gqlgen/issues/1832) [@requires](https://github.com/requires) directive when [@entityResolver](https://github.com/entityResolver) is used ([#1833)
+1ed7e050 Fix #1832 [@requires](https://github.com/requires) directive when [@entityResolver](https://github.com/entityResolver) is used (#1833)
* fix requires directive for multipleEntity directive
@@ -313,13 +1471,13 @@ This reverts commit f591c8f797e35635fb5eb0e4465c77b6a073896b.
-fcee4c40 Update README.md (#1836)
+fcee4c40 Update README.md (#1836)
Corrected a simple grammar typo.
-3fb5fd99 Fix #1834](https://github.com/99designs/gqlgen/issues/1834): Implement federation correctly ([#1835)
+3fb5fd99 Fix #1834: Implement federation correctly (#1835)
* Fix federation implementation which does not conform to Apollo Federation subgraph specification
@@ -329,13 +1487,13 @@ Corrected a simple grammar typo.
-98665071 Imporve gqlgen test cases (#1773) (closes #1765)
+98665071 Imporve gqlgen test cases (#1773) (closes #1765)
* Imporve test cases for init and generate
-5d904d87 Merge pull request #1778 from ipfans/gh-pages-patch
+5d904d87 Merge pull request #1778 from ipfans/gh-pages-patch
Bump gqlgen.com version list
@@ -351,13 +1509,13 @@ Bump gqlgen.com version list
## [v0.15.1](https://github.com/99designs/gqlgen/compare/v0.15.0...v0.15.1) - 2022-01-16
- 7102a36b Prepare for 0.15.1 release
-2b8f50b3 Fix #1765](https://github.com/99designs/gqlgen/issues/1765): Sometimes module info not exists or not loaded. ([#1767)
+2b8f50b3 Fix #1765: Sometimes module info not exists or not loaded. (#1767)
* Remove failing test
-- 46502e5e fixed broken link (#1768)
+- 46502e5e fixed broken link (#1768)
@@ -367,15 +1525,15 @@ Bump gqlgen.com version list
## [v0.15.0](https://github.com/99designs/gqlgen/compare/v0.14.0...v0.15.0) - 2022-01-14
- 99be1951 Prepare for release
-931271a2 Fix #1762](https://github.com/99designs/gqlgen/issues/1762): Reload packages before merging type systems ([#1763)
+931271a2 Fix #1762: Reload packages before merging type systems (#1763)
* run gofmt on file
-- e5b5e832 Improve performance of MarshalBoolean (#1757)
+- e5b5e832 Improve performance of MarshalBoolean (#1757)
-57664bf0 Migrate playgrounds to GraphiQL (#1751)
+57664bf0 Migrate playgrounds to GraphiQL (#1751)
* migrate to GraphiQL playground
@@ -383,7 +1541,7 @@ Bump gqlgen.com version list
-b2a832d5 Avoid problems with `val` being undefined in the federation template. (#1760)
+b2a832d5 Avoid problems with `val` being undefined in the federation template. (#1760)
* Avoid problems with `val` being undefined in the federation template.
@@ -440,15 +1598,15 @@ go run github.com/99designs/gqlgen --config testdata/entityresolver/gqlgen.yml
-47015f12 Added pointer to a solution for `no Go files` err (#1747)
+47015f12 Added pointer to a solution for `no Go files` err (#1747)
While following the instructions in this getting started guide I run into this error `package github.com/99designs/gqlgen: no Go files` which was pretty annoying to fix. Its a golang issue but for people who are unfamiliar with how the `go generate` command works in vendored projects its a blocker trying to follow the rest of this guide. It will be really nice to at least have a pointer in the guide for people to find a possible solution to the issue while going through the guide. I'm sure many folks have run into this issue given vendoring is now very popular with the latest go releases.
-- 27a2b210 Downgrade to Go 1.16 (#1743)
+- 27a2b210 Downgrade to Go 1.16 (#1743)
-14cfee70 Support for multiple @key](https://github.com/key) directives in federation (reworked) ([#1723)
+14cfee70 Support for multiple [@key](https://github.com/key) directives in federation (reworked) (#1723)
* address review comments
@@ -462,9 +1620,9 @@ Still missing:
-- 2747bd5f Add CSV and PDF to common initialisms (#1741)
+- 2747bd5f Add CSV and PDF to common initialisms (#1741)
-44beadc1 Fix list coercion when using graphql variables (#1740)
+44beadc1 Fix list coercion when using graphql variables (#1740)
* fix(codegen): support coercion of lists in graphql variables
@@ -482,7 +1640,7 @@ This was broken by an upstream dependency `gqlparser` coercing variables during
-bd8938d8 fix: automatically register built-in directive goTag (#1737)
+bd8938d8 fix: automatically register built-in directive goTag (#1737)
* fix: automatically register built-in tag goTag
@@ -490,7 +1648,7 @@ This was broken by an upstream dependency `gqlparser` coercing variables during
-497227fa Close Websocket Connection on Context close/cancel (#1728)
+497227fa Close Websocket Connection on Context close/cancel (#1728)
* Added code to the web socket so it closes when the context is cancelled (with an optional close reason).
@@ -503,9 +1661,9 @@ This was broken by an upstream dependency `gqlparser` coercing variables during
-- 4581fccd Don't loose field arguments when none match (#1725)
+- 4581fccd Don't loose field arguments when none match (#1725)
-213ecd93 Add support for graphql-transport-ws with duplex ping-pong (#1578)
+213ecd93 Add support for graphql-transport-ws with duplex ping-pong (#1578)
* Add support for graphql-transport-ws with duplex ping-pong
@@ -513,13 +1671,13 @@ This was broken by an upstream dependency `gqlparser` coercing variables during
-- ae92c83d add federation tests (#1719)
+- ae92c83d add federation tests (#1719)
-- f591c8f7 Fix plugin addition (#1717)
+- f591c8f7 Fix plugin addition (#1717)
-- 8fa6470f Fix #1704](https://github.com/99designs/gqlgen/issues/1704): handle [@required](https://github.com/required) nested fields as in [@key](https://github.com/key) ([#1706)
+- 8fa6470f Fix #1704: handle [@required](https://github.com/required) nested fields as in [@key](https://github.com/key) (#1706)
-af33b7cd Cleaning up extra return in federation generated code (#1713)
+af33b7cd Cleaning up extra return in federation generated code (#1713)
In PR 1709, I introduced GetMany semantics for resolving federated entities. But I left a couple of extra return statements in the generated code that are not necessary. So Im just cleaning those up here.
@@ -533,7 +1691,7 @@ go test -race ./... && cd example && go test -race ./... && cd ..
-402a2259 Optimize performance for binder, imports and packages (Rebased from sbalabanov/master) (#1711)
+402a2259 Optimize performance for binder, imports and packages (Rebased from sbalabanov/master) (#1711)
* Cache go.mod resolution for module name search
@@ -547,9 +1705,9 @@ go test -race ./... && cd example && go test -race ./... && cd ..
-- 237a7e6a Separate golangci-lint from other jobs (#1712)
+- 237a7e6a Separate golangci-lint from other jobs (#1712)
-50292e99 Resolve multiple federated entities in a single entityResolve call (#1709)
+50292e99 Resolve multiple federated entities in a single entityResolve call (#1709)
* Resolve multiple federated entities in a single entityResolve call
@@ -579,7 +1737,7 @@ You can look at the federated code in `plugin/federation/testdata/entityresolver
-80713b84 Adding entity resolver tests for errors, entities with different type… (#1708)
+80713b84 Adding entity resolver tests for errors, entities with different type… (#1708)
* Adding entity resolver tests for errors, entities with different types, and requires
@@ -594,9 +1752,9 @@ To run tests:
-- ed2d6998 Replace ! with _ in root.generated file to avoid build conflicts (#1701)
+- ed2d6998 Replace ! with _ in root.generated file to avoid build conflicts (#1701)
-828820af transport: implement `graphql-transport-ws` ws sub-protocol (#1507)
+828820af transport: implement `graphql-transport-ws` ws sub-protocol (#1507)
* websocket: create `messageExchanger` to handle subprotocol messages
@@ -622,11 +1780,11 @@ To run tests:
-- 28caa6ce Ignore generated files from test coverage (#1699)
+- 28caa6ce Ignore generated files from test coverage (#1699)
- 7ac988de Fix linting issue
-01d3c4f8 Entity resolver tests (#1697)
+01d3c4f8 Entity resolver tests (#1697)
* Moving federation tests to their own folders
@@ -665,21 +1823,21 @@ To run the tests:
-b7db36d3 Revert "Support for multiple @key](https://github.com/key) directives in federation ([#1684](https://github.com/99designs/gqlgen/issues/1684))" ([#1698)
+b7db36d3 Revert "Support for multiple [@key](https://github.com/key) directives in federation (#1684)" (#1698)
This reverts commit 47de912f56cd4bd6da9b74929cd67b8881617026.
-- 4a4b5601 DOC: Fixed indention in example code. (#1693)
+- 4a4b5601 DOC: Fixed indention in example code. (#1693)
-47de912f Support for multiple @key](https://github.com/key) directives in federation ([#1684)
+47de912f Support for multiple [@key](https://github.com/key) directives in federation (#1684)
* add more unit test coverage to plugin/federation
-59a30919 Reimplement goTag using FieldMutateHook (#1682)
+59a30919 Reimplement goTag using FieldMutateHook (#1682)
* Reimplement goTag using a FieldMutateHook
@@ -689,7 +1847,7 @@ This change does not change the logic of goTag, merely reimplements it using a F
-37a4e7ee Rename `@extraTag](https://github.com/extraTag)` directive to `[@goTag](https://github.com/goTag)` and make repeatable ([#1680)
+37a4e7ee Rename `[@extraTag](https://github.com/extraTag)` directive to `[@goTag](https://github.com/goTag)` and make repeatable (#1680)
* Allow Repeatable `goTag` Directive
@@ -699,7 +1857,7 @@ This change does not change the logic of goTag, merely reimplements it using a F
-87f9e436 Fix nil pointer dereference when an invalid import is bound to a model (#1676)
+87f9e436 Fix nil pointer dereference when an invalid import is bound to a model (#1676)
* Fixes remaining Name field in singlefile test
@@ -717,15 +1875,15 @@ Totally accidental, sorry!
-6c65e8f1 Update getting-started.md (#1674)
+6c65e8f1 Update getting-started.md (#1674)
missing an 's' on quoted filename default
-- 3bbc2a34 feat: generate resolvers for inputs if fields are missing (#1404)
+- 3bbc2a34 feat: generate resolvers for inputs if fields are missing (#1404)
-7db941a5 Fix 1138: nested fieldset support (#1669)
+7db941a5 Fix 1138: nested fieldset support (#1669)
* formatting
@@ -738,7 +1896,7 @@ upgrade deps in federation integration tests
-488a31fc ContextMarshaler (#1652)
+488a31fc ContextMarshaler (#1652)
* Add interface and detection for ContextMarshaler
@@ -765,11 +1923,11 @@ upgrade deps in federation integration tests
-- a626d9b4 Add ICMP to common initialisms (#1666)
+- a626d9b4 Add ICMP to common initialisms (#1666)
-- db4b5eb7 Merge Inline Fragment Nested Interface Fields (#1663)
+- db4b5eb7 Merge Inline Fragment Nested Interface Fields (#1663)
-8b973717 Update directives doc page (#1660)
+8b973717 Update directives doc page (#1660)
* Update directives doc page
@@ -777,7 +1935,7 @@ upgrade deps in federation integration tests
-1f500016 Add follow-schema layout for exec (#1309) (closes #1265)
+1f500016 Add follow-schema layout for exec (#1309) (closes #1265)
* Define ExecConfig separate from PackageConfig
@@ -804,7 +1962,7 @@ the same name, just applied to `exec` instead of `resolver`.
-12978359 Update GQLgen test client to work with multipart form data (take 2) (#1661)
+12978359 Update GQLgen test client to work with multipart form data (take 2) (#1661)
* Update GQLgen test client to work with multipart form data
@@ -876,7 +2034,7 @@ running the test on and/or race condition
-7435403c Adds RootFieldInterceptor to extension interfaces (#1647)
+7435403c Adds RootFieldInterceptor to extension interfaces (#1647)
* Adds RootFieldInterceptor to extension interfaces
@@ -888,19 +2046,19 @@ running the test on and/or race condition
-- 8b25c9e0 Add a config option to skip running "go mod tidy" on code generation (#1644)
+- 8b25c9e0 Add a config option to skip running "go mod tidy" on code generation (#1644)
-658195b7 Revert "Update GQLgen test client to work with multipart form data (#1418](https://github.com/99designs/gqlgen/issues/1418))" ([#1659)
+658195b7 Revert "Update GQLgen test client to work with multipart form data (#1418)" (#1659)
This reverts commit 1318f12792e86c76a2cdff9132ebac5b3e30e148.
-- 41c86765 Revert 1595 (#1658)
+- 41c86765 Revert 1595 (#1658)
-- 8359f974 Allow custom websocket upgrader (#1595)
+- 8359f974 Allow custom websocket upgrader (#1595)
-1318f127 Update GQLgen test client to work with multipart form data (#1418)
+1318f127 Update GQLgen test client to work with multipart form data (#1418)
* Update GQLgen test client to work with multipart form data
@@ -951,9 +2109,9 @@ builder `createUploadRequest`.
-- 6758654c raise panic when nested @requires](https://github.com/requires) are used on federation ([#1655)
+- 6758654c raise panic when nested [@requires](https://github.com/requires) are used on federation (#1655)
-f6c35be2 Add ReplacePlugin option to replace a specific plugin (#1657)
+f6c35be2 Add ReplacePlugin option to replace a specific plugin (#1657)
* Add Helper Option for replacing plugins
@@ -963,7 +2121,7 @@ builder `createUploadRequest`.
-f8c46600 fix double indirect bug (#1604) (closes #1587)
+f8c46600 fix double indirect bug (#1604) (closes #1587)
* invalid code generated
@@ -971,11 +2129,11 @@ builder `createUploadRequest`.
-- 629c91a2 remove extra WithOperationContext call (#1641)
+- 629c91a2 remove extra WithOperationContext call (#1641)
-- 35199c49 codegen: ensure Elem present before using (#1317)
+- 35199c49 codegen: ensure Elem present before using (#1317)
-bfea93cd Reload config packages after generating models (#1491)
+bfea93cd Reload config packages after generating models (#1491)
If models are generated in a package that has already been loaded, and
that package refers to another package that has already been loaded, we
@@ -1040,7 +2198,7 @@ code that fails in this scenario.
-9e0817cd Add graphql schema aware field level hook to modelgen (#1650)
+9e0817cd Add graphql schema aware field level hook to modelgen (#1650)
* Add ast aware field level hook to modelgen
@@ -1054,7 +2212,7 @@ This change adds a hook at the end of the field creation process which provides
-af2ac061 handling unconventional naming used in type names (#1549)
+af2ac061 handling unconventional naming used in type names (#1549)
* handling unconventional naming used in type names
@@ -1064,20 +2222,20 @@ This change adds a hook at the end of the field creation process which provides
-- 393f7554 add extraTag directive (#1173)
+- 393f7554 add extraTag directive (#1173)
-- fd1bd7c9 adding support for sending extension with gqlgen client (#1633)
+- fd1bd7c9 adding support for sending extension with gqlgen client (#1633)
-589a7742 Enable lowercase type names in GraphQL schema to properly render (#1359)
+589a7742 Enable lowercase type names in GraphQL schema to properly render (#1359)
The difficulty with lowercased type names is that in go code any lowercased name is not exported.
This change makes the names title case for go code while preserving the proper case when interacting with the GraphQL schema.
-- 50f6a2aa Fixes #1653](https://github.com/99designs/gqlgen/issues/1653): update docs and wrap error if not *gqlerror.Error ([#1654)
+- 50f6a2aa Fixes #1653: update docs and wrap error if not *gqlerror.Error (#1654)
-7081dedb Bump tmpl from 1.0.4 to 1.0.5 in /integration (#1627)
+7081dedb Bump tmpl from 1.0.4 to 1.0.5 in /integration (#1627)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
@@ -1091,7 +2249,7 @@ updated-dependencies:
-5287e4e5 Add QR and KVK to common initialisms (#1419)
+5287e4e5 Add QR and KVK to common initialisms (#1419)
* Add QR and KVK to common initialisms
@@ -1101,7 +2259,7 @@ updated-dependencies:
-f9df1a46 Update time format for `Time` scalar (#1648)
+f9df1a46 Update time format for `Time` scalar (#1648)
* Use more precise time format
@@ -1115,27 +2273,27 @@ updated-dependencies:
-77c757f0 Merge pull request #1640 from minus7/master
+77c757f0 Merge pull request #1640 from minus7/master
Fix example run instructions
-e60dc7af Merge pull request #1619 from Khan/benkraft.mod-tidy-stdout
+e60dc7af Merge pull request #1619 from Khan/benkraft.mod-tidy-stdout
Forward `go mod tidy` stdout/stderr
-0c63f1d1 Merge pull request #1515 from OpenSourceProjects/time
+0c63f1d1 Merge pull request #1515 from OpenSourceProjects/time
Marshaling & Unmarshaling time return initial value
-- a3d9e8ce Remove redundant favicon (#1638)
+- a3d9e8ce Remove redundant favicon (#1638)
-- 210c1aa6 Appropriately Handle Falsy Default Field Values (#1623)
+- 210c1aa6 Appropriately Handle Falsy Default Field Values (#1623)
47ce074a Fix example run instructions (closes #1607)
@@ -1151,7 +2309,7 @@ example/todo/server/server.go:10:2: no required module provides package github.c
- 1a0b19fe Update README.md
-d9998283 Merge pull request #1628 from robertmarsal/patch-1
+d9998283 Merge pull request #1628 from robertmarsal/patch-1
Fix typo in the getting-started docs
@@ -1159,7 +2317,7 @@ Fix typo in the getting-started docs
- f93f73ac Fix typo in the getting-started docs
-2f6919ff Merge pull request #1624 from FlymeDllVa/master
+2f6919ff Merge pull request #1624 from FlymeDllVa/master
Update disabling Introspection
@@ -1196,7 +2354,7 @@ output to our own stdout/stderr rather than devnull.
- cacd49a6 Update README.md
-7d549d64 Merge pull request #1617 from 99designs/update-docs-for-go1.17
+7d549d64 Merge pull request #1617 from 99designs/update-docs-for-go1.17
Update docs for getting started
@@ -1210,7 +2368,7 @@ Update docs for getting started
- 2272e05b Update README.md
-ef4d4a38 Merge pull request #1614 from 99designs/go-1.16
+ef4d4a38 Merge pull request #1614 from 99designs/go-1.16
Also test against 1.16
@@ -1218,7 +2376,7 @@ Also test against 1.16
- 00ed6fb1 Also test against 1.16
-473f0671 Merge pull request #1613 from 99designs/bump-non-module-deps
+473f0671 Merge pull request #1613 from 99designs/bump-non-module-deps
Clean up non-module deps
@@ -1226,7 +2384,7 @@ Clean up non-module deps
- 6960c0c2 Bump non-module deps
-