Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

AttributeRoute does not replace existing route values with null #3038

Closed
wants to merge 1 commit into from

Conversation

ajaybhargavb
Copy link
Contributor

Assert.Equal("Bar", context.RouteData.Values["path"]);
}

[Fact]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not super familiar with routing code, but is it possible for the router to route without visiting the entry (and consequently invoke MergeAttributes?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Routing creates a defensive copy at each level so that changes that aren't persisted don't dirty something else on the fallback path. That's what's on the whiteboard next to you, you silly goose! 🐐

@rynowak
Copy link
Member

rynowak commented Aug 27, 2015

:shipit:

@ajaybhargavb ajaybhargavb deleted the ajbaaska/catchallfix.2931 branch August 28, 2015 18:20
@ajaybhargavb
Copy link
Contributor Author

4fbaea2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants