Closed etan-status closed 1 year ago
Currently, we encode enum values always as the numeric value ord(val). unless explicitly overridden using serializesAsTextInToml or with a custom writeValue implementation. Reduce verbosity by automatically doing that.
ord(val)
serializesAsTextInToml
writeValue
Defaults:
By default, string comparison is strict, as in, it must match string exactly. A template is available to relax that constraint.
Currently, we encode enum values always as the numeric value
ord(val)
. unless explicitly overridden usingserializesAsTextInToml
or with a customwriteValue
implementation. Reduce verbosity by automatically doing that.