-
Notifications
You must be signed in to change notification settings - Fork 71
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
mountPath for middleware is not supporting array or regex #576
Comments
I tried a regex, but that doesn't seem to be recongized as regex and fails when the path is converted to a regex:
|
Sounds reasonable. This is only limited by our schema. @matz3 can you think of any reasons against allowing arrays and regular expressions here as well? |
Also see our documentation:
|
@RandomByte an array should be fine. I just wonder about a regular expression. YAML/JSON don't support RegExp, so we would need to differentiate between a RegExp pattern and a string or path pattern. |
Expected Behavior
Support arrays for mountPath just like express does
Current Behavior
It's not supported
Steps to Reproduce the Issue
Context
ui5 --version
when using the CLI): 2.1314
8.1
Log Output / Stack Trace
The text was updated successfully, but these errors were encountered: