-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Conversation
Environment.NewLine, | ||
finalMatches.Select(a => a.DisplayName)); | ||
_logger.LogError( | ||
$"Request matched multiple actions resulting in ambiguity. Matching actions: {actionNames}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use $
- let logging handle it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this still here?
a55e2cf
to
7c2538a
Compare
@@ -9,10 +9,25 @@ namespace Microsoft.AspNet.Mvc | |||
{ | |||
public class ActionDescriptor | |||
{ | |||
private readonly Guid _guid; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe save the string instead of the GUID?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
af124cb
to
d00db54
Compare
public ActionDescriptor() | ||
{ | ||
Properties = new Dictionary<object, object>(); | ||
RouteValueDefaults = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase); | ||
_guid = Guid.NewGuid().ToString(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use _id
or the Id
property directly.
⌚ |
aa959aa
to
e25ab19
Compare
Updated. /cc: @rynowak |
|
- Removing scopes as we want to limit the number of scopes being created. - Added new log statements using the new log format string.
e25ab19
to
24b930f
Compare
Please note: I have not yet modified the tests to reflect these changes. Will update them once the design looks ok.
Related PR in routing which has been updated: aspnet/Routing#172
/cc: @rynowak