Closed mnpqraven closed 1 year ago
This was an issue in the santiser of Specta. A fix has been published for Specta. I am under the impression Cargo should pick it up so maybe try cargo add specta
and see if it fixes it.
If not I can publish a new rspc release because i'm not too far off that.
I ran across this issue when trying to transfer my rust enums to the frontend after some serde renaming. For context, the enum's string variation won't be processed in the rust backend other than
FromStr
to work with SQLite database, but for the frontend I'm using the enum'sDisplay
to get string presentation Given this enumthe exported TS would be: