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

Add pattern factory method #44

Open
trimox opened this issue Aug 27, 2019 · 0 comments
Open

Add pattern factory method #44

trimox opened this issue Aug 27, 2019 · 0 comments

Comments

@trimox
Copy link

trimox commented Aug 27, 2019

Feature Request

Add support for pattern matching to determine if a value has a certain shape.

Proposed solution

Add an extension method with concise syntax like Add(route => route.Post().Pattern("/test/{id:guid}")

Additional context

Should support or handle uri with omitted forward slash

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

No branches or pull requests

1 participant