Skip to content

feat(security): add middleware to limit top level operation amount #172

feat(security): add middleware to limit top level operation amount

feat(security): add middleware to limit top level operation amount #172

Triggered via pull request December 19, 2023 16:05
Status Failure
Total duration 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint: limitQueryAmountMiddleware_test.go#L1
package should be `graphql_test` instead of `graphql` (testpackage)
lint: limitQueryAmountMiddleware_test.go#L14
Function Test_LimitQueryAmountMiddleware missing the call to method parallel
lint: limitQueryAmountMiddleware_test.go#L15
Function Test_LimitQueryAmountMiddleware missing the call to method parallel in the test run
lint: limitQueryAmountMiddleware_test.go#L39
Function Test_LimitQueryAmountMiddleware missing the call to method parallel in the test run
lint: limitQueryAmountMiddleware_test.go#L63
Function Test_LimitQueryAmountMiddleware missing the call to method parallel in the test run
lint: limitQueryAmountMiddleware_test.go#L91
assignments should only be cuddled with other assignments (wsl)
lint: limitQueryAmountMiddleware_test.go#L94
return statements should not be cuddled if block has more than two lines (wsl)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/graphql/graphql. Supported file pattern: go.sum