Skip to content

Skip did_you_mean suggestions when feature is disabled#5584

Merged
rmosolgo merged 1 commit intomasterfrom
skip-did-you-mean-when-disabled
Mar 24, 2026
Merged

Skip did_you_mean suggestions when feature is disabled#5584
rmosolgo merged 1 commit intomasterfrom
skip-did-you-mean-when-disabled

Conversation

@swalkinshaw
Copy link
Collaborator

When did_you_mean is disabled (common in production), skip the expensive all_types loading and dictionary computation entirely. Previously these allocations happened unconditionally on every validation error path.

Extracted from #5578

When did_you_mean is disabled (common in production), skip the expensive
all_types loading and dictionary computation entirely. Previously these
allocations happened unconditionally on every validation error path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rmosolgo rmosolgo added this to the 2.5.23 milestone Mar 24, 2026
@rmosolgo
Copy link
Owner

Thanks for this improvement!

@rmosolgo rmosolgo merged commit 9b17bfa into master Mar 24, 2026
13 checks passed
@rmosolgo rmosolgo deleted the skip-did-you-mean-when-disabled branch March 24, 2026 13:20
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.

2 participants