-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support custom maxBytes in API file #2822
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix: problem on name overlaping in config (#2820) * chore: fix missing funcs on windows (#2825) * chore: add more tests (#2812) * chore: add more tests * chore: add more tests * chore: add more tests (#2814) * chore: add more tests (#2815) * chore: add more tests * chore: add more tests * chore: add more tests * chore: add more tests * chore: add more tests * chore: add more tests * feat: upgrade go to v1.18 (#2817) * feat: upgrade go to v1.18 * feat: upgrade go to v1.18 * chore: change interface{} to any (#2818) * chore: change interface{} to any * chore: update goctl version to 1.5.0 * chore: update goctl deps * chore: update goctl interface{} to any (#2819) * chore: update goctl interface{} to any * chore: update goctl interface{} to any * chore(deps): bump google.golang.org/grpc from 1.52.0 to 1.52.3 (#2823) * support custom maxBytes in API file (#2822) * feat: mapreduce generic version (#2827) * feat: mapreduce generic version * fix: gateway mr type issue --------- Co-authored-by: kevin.wan <kevin.wan@yijinin.com> * feat: add MustNewRedis (#2824) * feat: add MustNewRedis * feat: add MustNewRedis * feat: add MustNewRedis * x * x * fix ut * x * x * x * x * x * chore: improve codecov (#2828) * feat: converge grpc interceptor processing (#2830) * feat: converge grpc interceptor processing * x * x * chore(deps): bump go.opentelemetry.io/otel/exporters/zipkin (#2831) * chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp (#2833) Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go) from 1.11.2 to 1.12.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-go@v1.11.2...v1.12.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump go.opentelemetry.io/otel/exporters/jaeger (#2832) Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.11.2 to 1.12.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-go@v1.11.2...v1.12.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel/exporters/jaeger dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xiaoju Jiang <44432198+jiang4869@users.noreply.github.com> Co-authored-by: kevin.wan <kevin.wan@yijinin.com> Co-authored-by: MarkJoyMa <64180138+MarkJoyMa@users.noreply.github.com>
* fix: problem on name overlaping in config (#2820) * chore: fix missing funcs on windows (#2825) * chore: add more tests (#2812) * chore: add more tests * chore: add more tests * chore: add more tests (#2814) * chore: add more tests (#2815) * chore: add more tests * chore: add more tests * chore: add more tests * chore: add more tests * chore: add more tests * chore: add more tests * feat: upgrade go to v1.18 (#2817) * feat: upgrade go to v1.18 * feat: upgrade go to v1.18 * chore: change interface{} to any (#2818) * chore: change interface{} to any * chore: update goctl version to 1.5.0 * chore: update goctl deps * chore: update goctl interface{} to any (#2819) * chore: update goctl interface{} to any * chore: update goctl interface{} to any * chore(deps): bump google.golang.org/grpc from 1.52.0 to 1.52.3 (#2823) * support custom maxBytes in API file (#2822) * feat: mapreduce generic version (#2827) * feat: mapreduce generic version * fix: gateway mr type issue --------- Co-authored-by: kevin.wan <kevin.wan@yijinin.com> * feat: add MustNewRedis (#2824) * feat: add MustNewRedis * feat: add MustNewRedis * feat: add MustNewRedis * x * x * fix ut * x * x * x * x * x * chore: improve codecov (#2828) * feat: converge grpc interceptor processing (#2830) * feat: converge grpc interceptor processing * x * x * chore(deps): bump go.opentelemetry.io/otel/exporters/zipkin (#2831) * chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp (#2833) Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go) from 1.11.2 to 1.12.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-go@v1.11.2...v1.12.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump go.opentelemetry.io/otel/exporters/jaeger (#2832) Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.11.2 to 1.12.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-go@v1.11.2...v1.12.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel/exporters/jaeger dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xiaoju Jiang <44432198+jiang4869@users.noreply.github.com> Co-authored-by: kevin.wan <kevin.wan@yijinin.com> Co-authored-by: MarkJoyMa <64180138+MarkJoyMa@users.noreply.github.com>
custom maxBytes in api file can be used like this
general code
For example, in the application of single architecture, there is a function to upload excel files and import data. At this time, the restapi interface for uploading files needs to increase the limit of the request body parameters. Although there is a
rest.WithMaxBytes
method, it cannot be generated through the api file. Once the api file is modified and regenerated, it will be very troublesome to manually modify the code.