Skip to content

Replace current and previous properties with symbols to allow JSON serialization of zod schema #633

Replace current and previous properties with symbols to allow JSON serialization of zod schema

Replace current and previous properties with symbols to allow JSON serialization of zod schema #633

Re-run triggered December 20, 2024 13:31
Status Failure
Total duration 1m 5s
Artifacts

test.yml

on: pull_request
Lint & Test
53s
Lint & Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint & Test: src/create/schema/index.ts#L15
There should be at least one empty line between import groups
Lint & Test: src/create/schema/index.ts#L16
`../../extendZodTypes` import should occur before type import of `../../openapi3-ts/dist`
Lint & Test: src/create/schema/index.ts#L225
Unsafe argument of type error typed assigned to a parameter of type `ZodType<unknown, ZodTypeDef, unknown>`
Lint & Test: src/create/schema/index.ts#L233
Unsafe argument of type error typed assigned to a parameter of type `ZodType<unknown, ZodTypeDef, unknown>`
Lint & Test: src/extendZod.ts#L3
'/home/runner/work/zod-openapi/zod-openapi/src/extendZodTypes.ts' imported multiple times
Lint & Test: src/extendZod.ts#L4
'/home/runner/work/zod-openapi/zod-openapi/src/extendZodTypes.ts' imported multiple times
Lint & Test
Property '__@previousSymbol@142866' does not exist on type 'ZodOpenApiMetadataDef'. Did you mean '__@previousSymbol@133297'?
Lint & Test
Property '__@previousSymbol@142866' does not exist on type 'ZodOpenApiMetadataDef'. Did you mean '__@previousSymbol@133297'?
Lint & Test
Property '__@currentSymbol@142865' does not exist on type 'ZodOpenApiMetadataDef'. Did you mean '__@currentSymbol@133296'?
Lint & Test
Property '__@currentSymbol@142865' does not exist on type 'ZodOpenApiMetadataDef'. Did you mean '__@currentSymbol@133296'?
Lint & Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint & Test: src/extendZodTypes.ts#L10
Strings must use singlequote
Lint & Test: src/extendZodTypes.ts#L11
Strings must use singlequote