Skip to content

Conversation

@cmyr
Copy link
Member

@cmyr cmyr commented Nov 27, 2025

Specifically for fontinfo.plist. The unknown fields will be ignored (and dropped) but I don't think it's worthwhile for us to fail to parse an otherwise well-formed input in this case.

(This is motivated by a real-world failure,
https://github.com/cadsondemak/itim/blob/2e586046/sources/Itim-Regular.ufo/fontinfo.plist).

Specifically for fontinfo.plist. The unknown fields will be ignored (and
dropped) but I don't think it's worthwhile for us to fail to parse an
otherwise well-formed input in this case.

(This is motivated by a real-world failure,
https://github.com/cadsondemak/itim/blob/2e586046/sources/Itim-Regular.ufo/fontinfo.plist).
Copy link
Collaborator

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

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

same here, would be nice to get a warning at least (unless it's too complicated with serde?)

@cmyr
Copy link
Member Author

cmyr commented Nov 27, 2025

norad doesn't have logging, and i'm not super inclined to add that just for this..

@cmyr
Copy link
Member Author

cmyr commented Nov 27, 2025

actually nevermind I've added logging support for #382, but won't log here because it's internal to serde...

@cmyr cmyr merged commit 01d4c2e into master Nov 27, 2025
5 checks passed
@cmyr cmyr deleted the allow-unknown-fields branch November 27, 2025 15:27
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