Skip to content

Commit

Permalink
release v0.17.28
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenACoffman committed Apr 3, 2023
1 parent a1a6f23 commit f2b3465
Show file tree
Hide file tree
Showing 13 changed files with 1,281 additions and 11 deletions.
2 changes: 1 addition & 1 deletion _examples/config/schema.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/config/todo.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/config/user.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/federation/accounts/graph/entity.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/federation/accounts/graph/schema.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/federation/products/graph/entity.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/federation/products/graph/schema.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/federation/reviews/graph/entity.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/federation/reviews/graph/schema.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

103 changes: 103 additions & 0 deletions _examples/lint.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
chat/chat_test.go:28:19: Error return value is not checked (errcheck)
chat/resolvers.go:65:1: paramTypeCombine: func(ctx context.Context, text string, username string, roomName string) (*Message, error) could be replaced with func(ctx context.Context, text, username, roomName string) (*Message, error) (gocritic)
chat/resolvers.go:65:33: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
chat/resolvers.go:77:15: Error return value is not checked (errcheck)
chat/resolvers.go:96:30: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
chat/resolvers.go:133:22: G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
chat/server/server.go:49:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
chat/server/server.go:59:2: importShadow: shadow of imported package 'url' (gocritic)
chat/server/server.go:71:13: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
config/server/server.go:17:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
dataloader/dataloaders.go:27:1: whyNoLint: include an explanation for nolint directive (gocritic)
dataloader/dataloaders.go:27:1: directive `// nolint: gosec` should be written without leading space as `//nolint: gosec` (nolintlint)
dataloader/dataloaders.go:40:9: var-naming: var keySql should be keySQL (revive)
dataloader/dataloaders.go:40:9: ST1003: var keySql should be keySQL (stylecheck)
dataloader/dataloaders.go:62:9: ST1003: var keySql should be keySQL (stylecheck)
dataloader/dataloaders.go:62:9: var-naming: var keySql should be keySQL (revive)
dataloader/dataloaders.go:92:9: var-naming: var keySql should be keySQL (revive)
dataloader/dataloaders.go:92:9: ST1003: var keySql should be keySQL (stylecheck)
dataloader/resolvers.go:56:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
dataloader/resolvers.go:68:1: whyNoLint: include an explanation for nolint directive (gocritic)
dataloader/resolvers.go:69:1: directive `// nolint: gosec` should be written without leading space as `//nolint: gosec` (nolintlint)
dataloader/resolvers.go:70:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
dataloader/resolvers.go:78:1: whyNoLint: include an explanation for nolint directive (gocritic)
dataloader/resolvers.go:79:1: directive `// nolint: gosec` should be written without leading space as `//nolint: gosec` (nolintlint)
dataloader/resolvers.go:80:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
dataloader/server/server.go:21:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
embedding/subdir/resolvers.go:16: File is not `gofumpt`-ed (gofumpt)
embedding/subdir/resolvers.go:17:32: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
embedding/subdir/resolvers.go:19: File is not `gofumpt`-ed (gofumpt)
embedding/subdir/resolvers.go:20:30: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
embedding/subdir/resolvers.go:22: File is not `gofumpt`-ed (gofumpt)
embedding/subdir/resolvers.go:23:27: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
federation/accounts/server.go:30:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
federation/products/server.go:30:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
federation/reviews/server.go:30:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
fileupload/fileupload_test.go:25:12: Error return value of `os.CreateTemp` is not checked (errcheck)
fileupload/fileupload_test.go:27:22: Error return value of `aTxtFile.WriteString` is not checked (errcheck)
fileupload/fileupload_test.go:29:13: Error return value of `os.CreateTemp` is not checked (errcheck)
fileupload/fileupload_test.go:30:13: Error return value of `os.CreateTemp` is not checked (errcheck)
fileupload/fileupload_test.go:33:23: Error return value of `a1TxtFile.WriteString` is not checked (errcheck)
fileupload/fileupload_test.go:34:23: Error return value of `b1TxtFile.WriteString` is not checked (errcheck)
fileupload/fileupload_test.go:230:10: comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
fileupload/server/server.go:37:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
go.mod:5:1: local replacement are not allowed: github.com/99designs/gqlgen (gomoddirectives)
scalars/model/model.go:19:10: Error return value of `w.Write` is not checked (errcheck)
scalars/model/model.go:21:10: Error return value of `w.Write` is not checked (errcheck)
scalars/model/model.go:28:8: equalFold: consider replacing with strings.EqualFold(v, "true") (gocritic)
scalars/model/model.go:50:52: Comment should end in a period (godot)
scalars/model/model.go:78:57: Comment should end in a period (godot)
scalars/model/model.go:87:17: Error return value of `io.WriteString` is not checked (errcheck)
scalars/model/model.go:92:72: Comment should end in a period (godot)
scalars/model/model.go:100:72: Comment should end in a period (godot)
scalars/model/model.go:103:17: Error return value of `io.WriteString` is not checked (errcheck)
scalars/model/model.go:107:36: Comment should end in a period (godot)
scalars/model/model.go:123:106: Comment should end in a period (godot)
scalars/resolvers.go:26:36: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
scalars/resolvers.go:26:57: unused-parameter: parameter 'tier' seems to be unused, consider removing or renaming it as _ (revive)
scalars/resolvers.go:26:74: unused-parameter: parameter 'darkMode' seems to be unused, consider removing or renaming it as _ (revive)
scalars/resolvers.go:30:30: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
scalars/resolvers.go:40:32: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
scalars/resolvers.go:71:42: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
scalars/resolvers.go:71:63: unused-parameter: parameter 'obj' seems to be unused, consider removing or renaming it as _ (revive)
scalars/resolvers.go:75:39: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
scalars/resolvers.go:75:60: unused-parameter: parameter 'obj' seems to be unused, consider removing or renaming it as _ (revive)
scalars/server/server.go:16:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
selection/server/server.go:15:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
starwars/benchmarks_test.go:18:27: "POST" can be replaced by http.MethodPost (usestdlibvars)
starwars/resolvers.go:149:41: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/resolvers.go:158:30: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/resolvers.go:165:33: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/resolvers.go:179:32: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/resolvers.go:199:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/resolvers.go:209:31: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/resolvers.go:213:2: return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
starwars/resolvers.go:216:31: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/resolvers.go:220:2: return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
starwars/resolvers.go:223:34: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/resolvers.go:227:2: return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
starwars/resolvers.go:232:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
starwars/server/server.go:29:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
starwars/starwars_test.go:30:21: json(snake): got '__typename' want 'typename' (tagliatelle)
todo/server/server.go:26:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
todo/todo.go:22:6: var-naming: func getUserId should be getUserID (revive)
todo/todo.go:22:6: ST1003: func getUserId should be getUserID (stylecheck)
todo/todo.go:45:4: return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
todo/todo.go:80:30: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
todo/todo.go:95:34: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
todo/todo.go:102:31: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
todo/todo.go:108:39: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
todo/todo.go:126:39: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
todo/todo.go:137:3: return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
todo/todo_test.go:39:21: json(snake): got '__typename' want 'typename' (tagliatelle)
todo/todo_test.go:208:21: json(snake): got '__typename' want 'typename' (tagliatelle)
todo/todo_test.go:223:21: json(snake): got '__typename' want 'typename' (tagliatelle)
type-system-extension/directive.go:1:1: ST1003: should not use underscores in package names (stylecheck)
type-system-extension/directive.go:1:9: var-naming: don't use an underscore in package name (revive)
type-system-extension/resolver.go:3:1: ST1003: should not use underscores in package names (stylecheck)
type-system-extension/resolver.go:3:9: var-naming: don't use an underscore in package name (revive)
type-system-extension/resolver.go:49:31: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
type-system-extension/resolver.go:53:30: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
type-system-extension/resolver.go:59:2: return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
type-system-extension/resolver.go:64:39: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
type-system-extension/server/server.go:40:12: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
2 changes: 1 addition & 1 deletion graphql/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package graphql

const Version = "v0.17.27-dev"
const Version = "v0.17.28"
Loading

0 comments on commit f2b3465

Please sign in to comment.