Skip to content

Classes #161

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Classes #161

wants to merge 1 commit into from

Conversation

oscartbeaumont
Copy link
Member

@oscartbeaumont oscartbeaumont commented Feb 25, 2025

This is probally never going to land. It has some major issues!

  • Returning classes from commands (we need to adjust the serialization somehow). We need to account for T and Vec<T>, MyStruct { a: T } which makes this really hard.

  • What if the class is nested? That wouldn't know and hence would break.

  • Automatically register Tauri wrapper commands???

  • Ignore warnings about incorrect naming

  • Support references

  • static methods working

  • Typesafe error handling working

  • Move more of the internals into Specta

  • JSDoc exporter support

  • Support exporting doc comments properly

  • Support for Rust-only objects (store into Tauri state as an object pool w/ unique identifier that TS uses)

  • Remove 東京 and use a proper identifier that isn't santised out.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant