Skip to content

Commit 82f7825

Browse files
committed
fix(config): fix parameterMacro typo in type-cast mappings
The type-cast mapping key was misspelled as "paramaterMacro" instead of "parameterMacro", which meant the parameterMacro configuration option was never properly type-cast when provided via query string or other string-based configuration sources.
1 parent 34d6186 commit 82f7825

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/config/type-cast/mappings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const mappings = {
6363
operationsSorter: {
6464
typeCaster: sorterTypeCaster,
6565
},
66-
paramaterMacro: { typeCaster: nullableFunctionTypeCaster },
66+
parameterMacro: { typeCaster: nullableFunctionTypeCaster },
6767
persistAuthorization: {
6868
typeCaster: booleanTypeCaster,
6969
defaultValue: defaultOptions.persistAuthorization,

0 commit comments

Comments
 (0)