4 ms·
It seems like a truncated Pkl file can still be a syntactically valid file? This is a problem with TOML and YAML (but not JSON) where the language itself doesn
by omoikane 3y ago
It seems like a truncated Pkl file can still be a syntactically valid file? This is a problem with TOML and YAML (but not JSON) where the language itself doesn't protect against truncations, and applications will need to add end-of-file markers or something similar in their config schema. I am not sure if Pkl has some built-in feature related to this sort of thing.
- rurban 3y agoThat's a feature, not a bug. Truncated files should not be accepted as valid
- TwentyPosts 3y agoSo you agree with them that it's a problem...?