Use serde_repr
for serializing enums as u8
#110
Labels
C-refactor
Category: Refactor
E-easy
Effort: Should be easy to implement and would make a good first PR
P-low
Priority: Low
https://github.com/juspay/orca/blob/56d153d8f7c2c75391799cf14280c448df97842f/crates/router/src/connector/authorizedotnet/transformers.rs#L219-L227
Instead of such renaming, it would be more properly to use
#[repr(u8)]
here:https://serde.rs/enum-number.html
The text was updated successfully, but these errors were encountered: