Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@iron9light
Copy link
Contributor

@iron9light iron9light commented May 2, 2019

What kind of change does this PR introduce?
Feature

What is the current behavior?

What is the new behavior?
Round-tripping route parameter syntax is a new feature from ASP.NET Core:
Forward slashes aren't encoded when using a double-asterisk (**) catch-all parameter syntax.
During link generation, the routing system encodes the value captured in a double-asterisk (**) catch-all parameter (for example, {**myparametername}) except the forward slashes.

Route Param Link
/search/{**page} page = "admin/products" /search/admin/products

What might this PR break?

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

@dnfclas
Copy link

dnfclas commented May 2, 2019

CLA assistant check
All CLA requirements met.

@iron9light
Copy link
Contributor Author

@anaisbetts @onovotny Could you please help to review this PR? I think it's a missing part for a REST API client library. And we do need this feature.

@clairernovotny
Copy link
Member

LGTM, @anaisbetts?

@clairernovotny clairernovotny requested a review from anaisbetts May 3, 2019 00:43
@clairernovotny clairernovotny merged commit d58df76 into reactiveui:master May 4, 2019
@PeterBenko PeterBenko mentioned this pull request Jun 5, 2019
@lock lock bot locked and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants