Skip to content

Commit

Permalink
fix(core): verboptions revert deep merge operations and tags
Browse files Browse the repository at this point in the history
  • Loading branch information
anymaniax committed Jun 7, 2024
1 parent df82e4a commit f49e706
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/core/src/generators/verbs-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ const generateVerbOptions = async ({
{} as NormalizedOperationOptions,
);

const override: NormalizedOverrideOutput = mergeDeep(
mergeDeep(output.override, overrideTag),
overrideOperation,
);
const override: NormalizedOverrideOutput = {
...output.override,
...overrideTag,
...overrideOperation,
};

const overrideOperationName =
overrideOperation?.operationName || output.override?.operationName;
Expand Down

0 comments on commit f49e706

Please sign in to comment.