-
https://github.com/specta-rs/tauri-specta/blob/main/examples/app/src-tauri/src/main.rs
-
hi! trying to generate bindings for a recursive struct with `tauri_specta` causes a stack overflow:
```ts
#[derive(serde::Serialize, specta::Type)]
struct B { a: Option }
#[derive(serde::Seria…
-
Probs due to nested module that the macro creates.
-
is there a way to avoid `tauri-specta` from doing these
```ts
if (e instanceof Error) throw e;
```
![Screenshot 2024-09-30 at 01 29 59](https://github.com/user-attachments/assets/d8410f5d-fb42-…
-
As Rust code use snake_case, but in tauri-specta's code use "to_lower_camel_case" to force convert all name to camelCase.
Is there any way to keep the original naming convention or change as user …
sbant updated
5 months ago
-
In v1, I can use two export statement to export these commands to 2 file:
```rust
ts::export(collect_types![greet, greet2, greet3], "../src/greet.ts").unwrap();
ts::export(collect_types![hello,…
mslxl updated
3 months ago
-
Really it's an rspc/Tauri Specta/`export` feature concern but also it is kinda language specific depending on whether namespacing is being used or not so idk.
-
This is an old document in my notes that I wanna dump here. Will think about it again in the furture so that all of it will a pound of salt.
``
`#[specta(optional)]` should not work on unnamed fie…
-
idk what it would look like but `axum-specta` should exists in a similar vein to `tauri-specta`
-
Goal: Atomatically generate Typescript functions for Rust commands in Typescript environment
Why: Use Typescript with type checking for Rust commands rather than `invoke('some string', somedata)`
…