Skip to content

Schemas: fix handling of nullable fields #330

Schemas: fix handling of nullable fields

Schemas: fix handling of nullable fields #330

Triggered via pull request November 7, 2024 19:08
Status Failure
Total duration 1m 7s
Artifacts

lint.yml

on: pull_request
golangci-lint
55s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

4 errors
golangci-lint: schema/avro/union.go#L209
cognitive complexity 31 of func `(unionResolver).afterUnmarshalNullUnionSubstitutions` is high (> 30) (gocognit)
golangci-lint: schema/avro/union.go#L269
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
golangci-lint: schema/avro/union.go#L274
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
golangci-lint
issues found