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

[Bug]: handler names are not snake case #562

Closed
Valerioageno opened this issue Feb 14, 2025 · 3 comments · Fixed by #565
Closed

[Bug]: handler names are not snake case #562

Valerioageno opened this issue Feb 14, 2025 · 3 comments · Fixed by #565
Assignees
Labels
bug Something isn't working

Comments

@Valerioageno
Copy link
Member

Description

tuono__internal__route and tuono__internal__api are not snake case, hence rust-analyzer triggers an error.

Expected behaviour

The handlers name should be snake case to not trigger any error

How to reproduce

Open any tuono project with an IDE with rust-analyzer and you will see the diagnostic error below

Screenshots

Image

System Info

N/A

System info (Rust)

N/A

Additional context

No response

@Valerioageno Valerioageno added the bug Something isn't working label Feb 14, 2025
@jacobhq
Copy link
Member

jacobhq commented Feb 14, 2025

Happy to handle this if you like

@jacobhq
Copy link
Member

jacobhq commented Feb 15, 2025

Should I also rename get__tuono_internal_api and similar to get_tuono_internal_api, or leave those as is?

@Valerioageno
Copy link
Member Author

Yes! Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants