Skip to content

Commit

Permalink
fix(core): prioritize the config of the expose decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaugomez committed May 22, 2024
1 parent 7dbbd91 commit 0f2b6c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/decorators/expose_all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export function ExposeAll(options?: ExposeAllOptions) {
target,
propertyName,
options: {
...exposeMetadata?.options,
...getExposeMetadataOptions(propertyName, options)
...getExposeMetadataOptions(propertyName, options),
...exposeMetadata?.options
}
});
});
Expand Down

0 comments on commit 0f2b6c1

Please sign in to comment.