-
- 이 이슈는 #2024 의 하위 이슈입니다.
### 문제 상황
- mock data를 만드는 함수와 실제 API 로직 두 부분 모두 타입에 의존하므로 공통 의존성을 추출하는 게 좋음
- 백엔드 - 프론트엔드 간 용어 통일이 되지 않음
- 백엔드 응답을 type-safe하게 다루지 않음
### 개선 방향
- 타입 정의 로직과 분리하…
-
for example
1. how to receive `number` at rust side
2. how to receive or return `object` or any complex object
```json
{
"a": "a",
"b": [true, 1, {}, []],
}
```
3. which types are com…
-
Hi there,
I'm really interested in rspc, but I’ve noticed that some of the documentation and examples seem to be a bit outdated or inconsistent. I would greatly appreciate any updates you can provi…
-
I have a type like this:
```rust
#[derive(Serialize, Deserialize, specta::Type)]
pub struct Package {
#[serde(rename(deserialize = "@version"))]
pub version: String,
}
```
But specta (…
-
-
A bit confused on how to use channels with `tauri-specta`, as there is no documentation
-
### Discussed in https://github.com/tauri-apps/tauri/discussions/7699
Originally posted by **wyhaya** August 26, 2023
Currently in Tauri's ipc it is passed in `JSON` format, which can cause so…
-
The [export](https://docs.rs/specta/latest/specta/ts/fn.export.html) function only exports the given type and not its children. How can I export a type and its children?
-
I am currently searching for a way to map TypeScript branded types, like https://github.com/kourge/ts-brand cleanly using specta. My current (flawed) approach is:
```
#[cfg_attr(feature = "wasm", …
-
Thanks for your work on tauri-specta!
I'm a very experienced Rust programmer and a very inexperienced front-end programmer, trying to get a simple app going with Tauri. Apologies in advance if thi…