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 mixelburg force-pushed the fix/queryConfigEnabled-mapping branch from 77c31e4 to 51e3754 Compare June 7, 2026 00:14
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
@mixelburg mixelburg force-pushed the fix/queryConfigEnabled-mapping branch from 51e3754 to bffc57e Compare June 13, 2026 00:17
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