Skip to content
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

chore: update indexmap & serde-bridge #29

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

flaneur2020
Copy link

@flaneur2020 flaneur2020 commented Feb 20, 2025

No description provided.

@flaneur2020 flaneur2020 marked this pull request as draft February 20, 2025 08:50
@flaneur2020 flaneur2020 marked this pull request as ready for review February 20, 2025 10:11
Copy link
Owner

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Other changes looks good to me

/// Toml with unknown field handler support
///
/// This parser will ignore unknown fields and call the handler with the path of the unknown field.
pub struct TomlIgnored {
Copy link
Owner

Choose a reason for hiding this comment

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

Hi, I have a feeling that this API doesn't belong to serfig. Maybe we can move it to downstream?

Copy link
Author

Choose a reason for hiding this comment

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

make sense, let me put it in the downstream first

Copy link
Owner

Choose a reason for hiding this comment

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

Thank you for this. I believe other parts of this PR is good to go.

Copy link
Author

Choose a reason for hiding this comment

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

let me rename this pr's title to reduce the scope of change

@flaneur2020 flaneur2020 changed the title feat: allow passing an unknown field handler to print warnings for users chore: update indexmap & serde-bridge Feb 21, 2025
@flaneur2020 flaneur2020 requested a review from Xuanwo February 21, 2025 12:50
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