Skip to content

Conversation

taion
Copy link
Contributor

@taion taion commented Oct 30, 2015

Fixes #2072

@taion taion added this to the v1.0.0-final milestone Oct 30, 2015
@taion
Copy link
Contributor Author

taion commented Oct 30, 2015

Can we make the coveralls check be a little more lenient?

A simpler implementation might be possible - make getMatchingRoute be e.g. getMatchingRouteIndex and just verify that all remaining routes have no path specified. For completeness we would then maintain the invariant in getIndexRoute in matchRoutes (or elsewhere) that index routes do not have path specified.

I don't want the merge conflict with #2421 though.

@taion
Copy link
Contributor Author

taion commented Oct 30, 2015

Updated with a much simpler check that I believe covers all the relevant cases.

@knowbody
Copy link
Contributor

thanks @taion! I like it!

also, yeah we should change the coveralls settings

knowbody added a commit that referenced this pull request Oct 30, 2015
isActive for dynamic index routes
@knowbody knowbody merged commit 26c632a into remix-run:master Oct 30, 2015
@taion
Copy link
Contributor Author

taion commented Oct 30, 2015

Ack I wanted to squash this first. Oh well.

@taion taion deleted the dynamic-indexRoute branch October 30, 2015 21:09
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
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.

2 participants