Skip to content

String validation

String validation #4

Triggered via pull request October 10, 2024 07:56
Status Failure
Total duration 27s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
build: validator_test.go#L50
cannot use func(ctx context.Context, h *shared.FieldCustomHelper, value *string) []shared.Error {…} (value of type func(ctx context.Context, h *shared.FieldCustomHelper, value *string) []shared.Error) as func(ctx context.Context, h *shared.FieldCustomHelper, value any) []shared.Error value in argument to builder.String(&temp.HTTPDestParam).Custom
build: validator_test.go#L69
builder.StringPtr undefined (type Configurator[Sender] has no field or method StringPtr)
build: validator_test.go#L265
cannot use func(ctx context.Context, h *shared.FieldCustomHelper, value *string) []shared.Error {…} (value of type func(ctx context.Context, h *shared.FieldCustomHelper, value *string) []shared.Error) as func(ctx context.Context, h *shared.FieldCustomHelper, value any) []shared.Error value in argument to builder.String(&temp.HTTPDestParam).Custom
build: validator_test.go#L278
builder.StringPtr undefined (type Configurator[Sender] has no field or method StringPtr)
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/