Summary
In packages/orval/src/utils/options.ts (around the normalizeOptions function), the workspace field is not being normalized to outputWorkspace — the pre-existing call shape passes workspace directly instead of the normalized outputWorkspace form expected downstream.
This was noticed during the review of PR #3444 (feat(effect): add @orval/effect schema generator), but it predates that change and is a standalone issue that deserves its own focused fix.
Steps to reproduce
Configure an orval output with a workspace key and observe that it is not normalized to outputWorkspace in the resulting options object.
Suggested fix
Add a workspace → outputWorkspace normalization step in normalizeOptions (or wherever the other output fields are normalized), matching the pattern used by other normalized output fields.
References
Summary
In
packages/orval/src/utils/options.ts(around thenormalizeOptionsfunction), theworkspacefield is not being normalized tooutputWorkspace— the pre-existing call shape passesworkspacedirectly instead of the normalizedoutputWorkspaceform expected downstream.This was noticed during the review of PR #3444 (feat(effect): add
@orval/effectschema generator), but it predates that change and is a standalone issue that deserves its own focused fix.Steps to reproduce
Configure an orval output with a
workspacekey and observe that it is not normalized tooutputWorkspacein the resulting options object.Suggested fix
Add a
workspace → outputWorkspacenormalization step innormalizeOptions(or wherever the other output fields are normalized), matching the pattern used by other normalized output fields.References