Skip to content

Capture and log unknown fields from config file #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

me-cr
Copy link
Contributor

@me-cr me-cr commented Jul 31, 2025

Capture unknown fields using Serde’s flatten attribute. This approach allows us to accept valid input, ignore unknown fields during normal operation, and log them as needed, instead of rejecting them and using default configuration values.

@jvsqzj
@alecalvop

@me-cr me-cr force-pushed the fix/config-file-unknown-fields branch from 58e2923 to 2bf7e6e Compare August 14, 2025 20:19
@me-cr me-cr force-pushed the fix/config-file-unknown-fields branch 2 times, most recently from 55aced8 to 2e59830 Compare August 14, 2025 21:40
@me-cr me-cr force-pushed the fix/config-file-unknown-fields branch from 2e59830 to 74498f2 Compare August 14, 2025 22:05
@me-cr me-cr marked this pull request as ready for review August 14, 2025 22:05
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.

3 participants