Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

chore: update indexmap & serde-bridge#29

Closed
flaneur2020 wants to merge 12 commits intoXuanwo:mainfrom
flaneur2020:allow-ignore-fields
Closed

chore: update indexmap & serde-bridge#29
flaneur2020 wants to merge 12 commits intoXuanwo:mainfrom
flaneur2020:allow-ignore-fields

Conversation

@flaneur2020
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@Xuanwo
Copy link
Copy Markdown
Owner

Xuanwo commented Sep 3, 2025

No needed anymore.

@Xuanwo Xuanwo closed this Sep 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants