Skip to content

Conversation

@nikollamalic
Copy link

Small addition to help check if a specific key exists in the config file.

Issue link:
foundry-rs/foundry#12842

@nikollamalic nikollamalic changed the title feat(config): add StdConfig::exists method to check if key exists feat: add StdConfig::exists method to check if key exists Dec 17, 2025
@nikollamalic
Copy link
Author

Hey @0xrusowsky friendly ping,

This is adding two new simple methods to StdConfig which check if a specific key exists inside the configuration cache.

It is really really helpful addition which helps us make the transition to using Config since get will revert when specific keys are not found.

Appreciate the work done on this and looking forward to your feedback!
Nikola, infiniFi

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