Decide how to handle stringified booleans in configuration #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
src/core/config/settings.rshas these:GlobalEdit's values later get merged intoGlobal. ThoseStringvalues get booleanified like this:@ro mentioned that they are strings in the JSON to be able to accept configuration files that come from the PHP verison of Fipamo.
Serde can be told to treat those fields specially, and to be able to parse them as booleans or as strings. Should I just make it do that? Are there any other considerations for being able to reuse configurations from the PHP Fipamo?
Yeah, sounds good to me.
I did that because my knowledge of Rust is still limited, so it's just a patch.