I went ahead and implemented tagged templates in JS directly. The main reason is that not all terms can be deserialized directly in rust from a JsValue. In a few cases like dates, we need preprocessing in JS, using instanceOf to turn the value into something that can be deserialized via serde.
I went ahead and implemented tagged templates in JS directly. The main reason is that not all terms can be deserialized directly in rust from a JsValue. In a few cases like dates, we need preprocessing in JS, using
instanceOf
to turn the value into something that can be deserialized via serde.