Skip to content

fix: add queryConfigEnabled to type-cast mappings#10878

Open
mixelburg wants to merge 2 commits into
swagger-api:masterfrom
mixelburg:fix/queryConfigEnabled-mapping
Open

fix: add queryConfigEnabled to type-cast mappings#10878
mixelburg wants to merge 2 commits into
swagger-api:masterfrom
mixelburg:fix/queryConfigEnabled-mapping

Conversation

@mixelburg
Copy link
Copy Markdown

Summary

The queryConfigEnabled option was defined in src/core/config/defaults.js but was missing from src/core/config/type-cast/mappings.js, meaning the option was not type-cast when provided via URL query parameters or constructor configuration.

Changes

Added queryConfigEnabled entry to the type-cast mappings object with booleanTypeCaster and defaultValue from defaultOptions.queryConfigEnabled.

Fixes #10744

mixelburg added 2 commits May 5, 2026 22:06
queryConfigEnabled was defined in defaults.js but missing from
src/core/config/type-cast/mappings.js, meaning the option was not
type-cast when provided via URL query parameters or constructor.

Fixes swagger-api#10744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

queryConfigEnabled is missing in src/core/config/type-cast/mappings.js

1 participant