Skip to content

Add wildcard support for key in dict_replace_if_equal#1426

Merged
oreflow merged 1 commit intobazelbuild:mainfrom
mering:dict-replace-key-wildcard
Jan 28, 2026
Merged

Add wildcard support for key in dict_replace_if_equal#1426
oreflow merged 1 commit intobazelbuild:mainfrom
mering:dict-replace-key-wildcard

Conversation

@mering
Copy link
Contributor

@mering mering commented Dec 4, 2025

No description provided.

@mering mering requested a review from a team as a code owner December 4, 2025 22:19
@mering mering requested review from oreflow and removed request for a team December 4, 2025 22:19
@oreflow
Copy link
Collaborator

oreflow commented Dec 30, 2025

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds wildcard support for the key in dict_replace_if_equal. The implementation is mostly correct, and the accompanying documentation update is clear. I've identified a couple of areas for improvement: one is a correctness issue regarding the handling of wildcards when no keys match, and the other is a small refactoring to remove redundant code. Overall, a good addition.

@mering mering force-pushed the dict-replace-key-wildcard branch from 5768786 to be9e3b8 Compare January 23, 2026 10:20
@mering
Copy link
Contributor Author

mering commented Jan 23, 2026

@oreflow Thanks for the review! I addressed all comments. Can you please take another look? Thanks!

@oreflow oreflow merged commit 8d909a2 into bazelbuild:main Jan 28, 2026
2 checks passed
@mering mering deleted the dict-replace-key-wildcard branch February 2, 2026 13:04
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