Skip to content

fix(angular): emit filterParams for untagged ops in tags-split default file #650

fix(angular): emit filterParams for untagged ops in tags-split default file

fix(angular): emit filterParams for untagged ops in tags-split default file #650

Triggered via pull request May 15, 2026 20:40
Status Failure
Total duration 3m 52s
Artifacts

pr-checks.yaml

on: pull_request
Matrix: pr-checks
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 notice
pr-checks (ubuntu-latest, 22.x)
Process completed with exit code 1.
pr-checks (ubuntu-latest, 22.x)
angular-query#test:snapshots: command (/home/runner/work/orval/orval/samples/angular-query) /home/runner/.bun/bin/bun run test:snapshots exited (1)
[angular-query] api-generation.spec.ts > API Generation Snapshots > samples/angular-query/src/api/endpoints-zod/pets/pets.ts: test-utils/snapshot-testing.ts#L75
Error: Snapshot `API Generation Snapshots > samples/angular-query/src/api/endpoints-zod/pets/pets.ts 1` mismatched - Expected + Received @@ -42,23 +42,38 @@ function filterParams( params: Record<string, unknown>, requiredNullableKeys?: ReadonlySet<string>, preserveRequiredNullables?: false, + passthroughKeys?: undefined, ): Record<string, AngularHttpParamValue>; function filterParams( params: Record<string, unknown>, requiredNullableKeys: ReadonlySet<string> | undefined, preserveRequiredNullables: true, + passthroughKeys?: undefined, ): Record<string, AngularHttpParamValueWithNullable>; function filterParams( params: Record<string, unknown>, - requiredNullableKeys: ReadonlySet<string> = new Set(), + requiredNullableKeys: ReadonlySet<string> | undefined, - preserveRequiredNullables = false, - ): Record<string, AngularHttpParamValueWithNullable> { + preserveRequiredNullables: boolean | undefined, + passthroughKeys: ReadonlySet<string>, + ): Record<string, unknown>; + function filterParams( + params: Record<string, unknown>, + requiredNullableKeys: ReadonlySet<string> = new Set(), + preserveRequiredNullables = false, + passthroughKeys: ReadonlySet<string> = new Set(), + ): Record<string, unknown> { - const filteredParams: Record<string, AngularHttpParamValueWithNullable> = {}; + const filteredParams: Record<string, unknown> = {}; for (const [key, value] of Object.entries(params)) { + if (passthroughKeys.has(key)) { + if (value !== undefined) { + filteredParams[key] = value; + } + continue; + } if (Array.isArray(value)) { const filtered = value.filter( (item) => item != null && (typeof item === 'string' || ❯ ../../test-utils/snapshot-testing.ts:75:9
[angular-query] api-generation.spec.ts > API Generation Snapshots > samples/angular-query/src/api/endpoints-no-transformer/pets/pets.ts: test-utils/snapshot-testing.ts#L75
Error: Snapshot `API Generation Snapshots > samples/angular-query/src/api/endpoints-no-transformer/pets/pets.ts 1` mismatched - Expected + Received @@ -45,23 +45,38 @@ function filterParams( params: Record<string, unknown>, requiredNullableKeys?: ReadonlySet<string>, preserveRequiredNullables?: false, + passthroughKeys?: undefined, ): Record<string, AngularHttpParamValue>; function filterParams( params: Record<string, unknown>, requiredNullableKeys: ReadonlySet<string> | undefined, preserveRequiredNullables: true, + passthroughKeys?: undefined, ): Record<string, AngularHttpParamValueWithNullable>; function filterParams( params: Record<string, unknown>, + requiredNullableKeys: ReadonlySet<string> | undefined, + preserveRequiredNullables: boolean | undefined, + passthroughKeys: ReadonlySet<string>, + ): Record<string, unknown>; + function filterParams( + params: Record<string, unknown>, requiredNullableKeys: ReadonlySet<string> = new Set(), preserveRequiredNullables = false, - ): Record<string, AngularHttpParamValueWithNullable> { - const filteredParams: Record<string, AngularHttpParamValueWithNullable> = {}; + passthroughKeys: ReadonlySet<string> = new Set(), + ): Record<string, unknown> { + const filteredParams: Record<string, unknown> = {}; for (const [key, value] of Object.entries(params)) { + if (passthroughKeys.has(key)) { + if (value !== undefined) { + filteredParams[key] = value; + } + continue; + } if (Array.isArray(value)) { const filtered = value.filter( (item) => item != null && (typeof item === 'string' || ❯ ../../test-utils/snapshot-testing.ts:75:9
[angular-query] api-generation.spec.ts > API Generation Snapshots > samples/angular-query/src/api/endpoints-custom-instance/pets/pets.ts: test-utils/snapshot-testing.ts#L75
Error: Snapshot `API Generation Snapshots > samples/angular-query/src/api/endpoints-custom-instance/pets/pets.ts 1` mismatched - Expected + Received @@ -46,23 +46,38 @@ function filterParams( params: Record<string, unknown>, requiredNullableKeys?: ReadonlySet<string>, preserveRequiredNullables?: false, + passthroughKeys?: undefined, ): Record<string, AngularHttpParamValue>; function filterParams( params: Record<string, unknown>, requiredNullableKeys: ReadonlySet<string> | undefined, preserveRequiredNullables: true, + passthroughKeys?: undefined, ): Record<string, AngularHttpParamValueWithNullable>; function filterParams( params: Record<string, unknown>, + requiredNullableKeys: ReadonlySet<string> | undefined, + preserveRequiredNullables: boolean | undefined, + passthroughKeys: ReadonlySet<string>, + ): Record<string, unknown>; + function filterParams( + params: Record<string, unknown>, requiredNullableKeys: ReadonlySet<string> = new Set(), preserveRequiredNullables = false, - ): Record<string, AngularHttpParamValueWithNullable> { - const filteredParams: Record<string, AngularHttpParamValueWithNullable> = {}; + passthroughKeys: ReadonlySet<string> = new Set(), + ): Record<string, unknown> { + const filteredParams: Record<string, unknown> = {}; for (const [key, value] of Object.entries(params)) { + if (passthroughKeys.has(key)) { + if (value !== undefined) { + filteredParams[key] = value; + } + continue; + } if (Array.isArray(value)) { const filtered = value.filter( (item) => item != null && (typeof item === 'string' || ❯ ../../test-utils/snapshot-testing.ts:75:9
[angular-query] api-generation.spec.ts > API Generation Snapshots > samples/angular-query/src/api/endpoints/pets/pets.ts: test-utils/snapshot-testing.ts#L75
Error: Snapshot `API Generation Snapshots > samples/angular-query/src/api/endpoints/pets/pets.ts 1` mismatched - Expected + Received @@ -48,23 +48,38 @@ function filterParams( params: Record<string, unknown>, requiredNullableKeys?: ReadonlySet<string>, preserveRequiredNullables?: false, + passthroughKeys?: undefined, ): Record<string, AngularHttpParamValue>; function filterParams( params: Record<string, unknown>, requiredNullableKeys: ReadonlySet<string> | undefined, preserveRequiredNullables: true, + passthroughKeys?: undefined, ): Record<string, AngularHttpParamValueWithNullable>; function filterParams( params: Record<string, unknown>, + requiredNullableKeys: ReadonlySet<string> | undefined, + preserveRequiredNullables: boolean | undefined, + passthroughKeys: ReadonlySet<string>, + ): Record<string, unknown>; + function filterParams( + params: Record<string, unknown>, requiredNullableKeys: ReadonlySet<string> = new Set(), preserveRequiredNullables = false, - ): Record<string, AngularHttpParamValueWithNullable> { - const filteredParams: Record<string, AngularHttpParamValueWithNullable> = {}; + passthroughKeys: ReadonlySet<string> = new Set(), + ): Record<string, unknown> { + const filteredParams: Record<string, unknown> = {}; for (const [key, value] of Object.entries(params)) { + if (passthroughKeys.has(key)) { + if (value !== undefined) { + filteredParams[key] = value; + } + continue; + } if (Array.isArray(value)) { const filtered = value.filter( (item) => item != null && (typeof item === 'string' || ❯ ../../test-utils/snapshot-testing.ts:75:9
pr-checks (windows-latest, 22.x)
The strategy configuration was canceled because "pr-checks.ubuntu-latest_22_x" failed
pr-checks (windows-latest, 22.x)
The operation was canceled.
pr-checks (windows-latest, 22.x)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026