Skip to content

Commit d6d6625

Browse files
authored
GODRIVER-2154 Audit code generated by operationgen and remove operationgen (#809)
1 parent 10abf0f commit d6d6625

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+55
-2320
lines changed

.golangci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ issues:
6060
linters:
6161
- revive
6262
- errcheck
63-
# Ignore some linters for generated operation code.
64-
# TODO: Re-enable once GODRIVER-2154 is done.
65-
- path: x/mongo/driver/operation/
66-
linters:
67-
- staticcheck
68-
- ineffassign
6963
# Disable unused code linters for the copy/pasted "awsv4" package.
7064
- path: x/mongo/driver/auth/internal/awsv4
7165
linters:

cmd/operationgen/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

cmd/operationgen/main.go

Lines changed: 0 additions & 80 deletions
This file was deleted.

x/mongo/driver/DESIGN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ The `Operation` type handles executing a series of commands using a `Deployment`
1919
batch split write commands, such as insert. The type itself is heavily documented, so reading the
2020
code and comments together should provide an understanding of how the type works.
2121

22-
This type is not meant to be used directly by callers. Instead an wrapping type should be defined
23-
using the IDL and an implementation generated using `operationgen`.
22+
This type is not meant to be used directly by callers. Instead a wrapping type should be defined
23+
using the IDL.

0 commit comments

Comments
 (0)