Transitioning from JavaScript to Rust for Discount Functions

I am in the process of replacing my current JavaScript implementation with Rust. Could you assist me in making this transition as smooth as possible?

Migration Steps and Inquiry:

  1. Develop and test Rust functions in the development environment.
  2. Deploy the Rust functions to the production environment.
  3. Migrate existing discount codes to be processed using the new Rust functions.

Is step 3 feasible? I am concerned that the functionId differs between the JavaScript and Rust implementations, which could potentially cause issues.

Hi Hirano,

We just shipped some JS → Rust migration guidelines to our dev docs here: Rust for Functions

Hope these help!

1 Like

This dev docs is very helpful to me. Thank you very much.