Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Tauri Deps #758

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Update Tauri Deps #758

merged 1 commit into from
Mar 20, 2024

Conversation

martpie
Copy link
Owner

@martpie martpie commented Mar 18, 2024

I tried to upgrade ts-rs to v8, but the new export mechanism is extremely confusing, and TS_RS_EXPORT_DIR does not seem to be respected (types should be outputted in the TS codebase, not the rust codebase).

I tried to upgrade `ts-rs` to v8, but the new export mechanism is extremely confusing, and `TS_RS_EXPORT_DIR` does not seem to be respected (types should be outputted in the TS codebase, not the rust codebase).
@uklotzde
Copy link
Contributor

Did you consider using schemars to generate TypeScript from an intermediate JSON Schema definition?

@martpie
Copy link
Owner Author

martpie commented Mar 19, 2024

Well, ts-rs does everything in one go.

Probably we could automate the types generation when using tauri dev, I'll have a look.

@martpie martpie merged commit 5ca4449 into tauri Mar 20, 2024
3 of 4 checks passed
@martpie martpie deleted the tauri-deps branch March 20, 2024 12:12
martpie added a commit that referenced this pull request Jun 13, 2024
I tried to upgrade `ts-rs` to v8, but the new export mechanism is extremely confusing, and `TS_RS_EXPORT_DIR` does not seem to be respected (types should be outputted in the TS codebase, not the rust codebase).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants