Loading
fix: decrease the number of the library dependencies
This MR removes 8 dependencies from the go.mod by splitting buf-logic and GraphQL into separate logic.
Now we have three modules:
- main (
go.mod)gitlab.com/gitlab-org/api/client-go/v2: used by most users for importing GitLab API core logic. - config (
config/go.mod)gitlab.com/gitlab-org/api/client-go/v2/config: imported when someone needs config logic. - graphql_test (
graphql_test/go.mod)gitlab.com/gitlab-org/api/client-go/v2/graphql_test: should not be imported by an external users, only for testing GraphQL features.
Fixes #2186 (closed)
Removed dependencies:
- buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go
- buf.build/go/protovalidate
- buf.build/go/protoyaml
- github.com/MakeNowJust/heredoc/v2
- github.com/graph-gophers/graphql-go
- github.com/zalando/go-keyring
- go.yaml.in/yaml/v3
- google.golang.org/protobuf
Edited by Oleksandr Redko