Skip to content

rename_all support on specta::specta macro#453

Merged
oscartbeaumont merged 2 commits into
mainfrom
rename-all
May 5, 2026
Merged

rename_all support on specta::specta macro#453
oscartbeaumont merged 2 commits into
mainfrom
rename-all

Conversation

@oscartbeaumont
Copy link
Copy Markdown
Member

@oscartbeaumont oscartbeaumont commented Mar 3, 2026

This will close #213. I don't think I will merge this though because having to remember this on multiple macros is too error prone. I think the idea of removing #[specta::specta] is definitely the long term plan here

For this to be merged I think we need to fix to_lower_camel_case thing in Tauri Specta so we don't double process the renames.

# Conflicts:
#	specta-macros/src/specta.rs
#	specta-typescript/src/error.rs
@oscartbeaumont
Copy link
Copy Markdown
Member Author

I hate this as documented in tauri-apps/tauri#15326 but we are going to live with it for now.

@oscartbeaumont oscartbeaumont marked this pull request as ready for review May 5, 2026 05:43
@oscartbeaumont oscartbeaumont merged commit f3f71d9 into main May 5, 2026
1 of 4 checks passed
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.

Support rename_all = "snake_case" for command fn names

1 participant