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

feat: use better regex for route parameters #1393

Merged

Conversation

TommoLeedsy
Copy link
Contributor

Status

READY

Description

Fixes #1084

This PR moves TEMPLATE_TAG_REGEX into core constants and updates it to be /\${(.+?)}/g as described in #1084.
It also imports this variable in wrapRouteParameters to reduce code duplication.

Related PRs

#895

@melloware melloware merged commit ba24407 into orval-labs:master May 21, 2024
2 checks passed
@TommoLeedsy TommoLeedsy deleted the feat/better-route-parameters-regex branch May 22, 2024 06:27
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.

Use better regex for route parameters
2 participants