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

replace colons in route identifiers #591

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

fehnomenal
Copy link
Contributor

In my project I have some routes like /admin/things/id:123. This : is not replaced so that the generated code looks like a type specification:

image

This PR fixes the problem by also replacing :s with _s.

@jycouet jycouet merged commit 87432e8 into jycouet:main Jan 7, 2024
4 checks passed
@jycouet
Copy link
Owner

jycouet commented Jan 7, 2024

Thx 🙏

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.

2 participants