Skip to content

Fix: FastRoute dispatcher and data generator should match#3027

Merged
l0gicgate merged 2 commits into
slimphp:4.xfrom
edudobay:fix_FastRoute_dispatcher_and_data_generator
Nov 30, 2020
Merged

Fix: FastRoute dispatcher and data generator should match#3027
l0gicgate merged 2 commits into
slimphp:4.xfrom
edudobay:fix_FastRoute_dispatcher_and_data_generator

Conversation

@edudobay
Copy link
Copy Markdown
Contributor

While testing with the master branch of FastRoute, I found the following issue:

FastRoute has recently changed the default dispatcher to MarkBased, and Slim is based on GroupCountBased. The data generator should always match the dispatcher, so the data generator must be explicitly given to avoid breaking with future FastRoute releases.

FastRoute has recently changed the default dispatcher to MarkBased, and
we're based on GroupCountBased. The data generator should always match
the dispatcher, so the data generator must be explicitly given to avoid
breaking with future FastRoute releases.
@coveralls
Copy link
Copy Markdown

coveralls commented Nov 30, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling e188fa3 on edudobay:fix_FastRoute_dispatcher_and_data_generator into 8dbe684 on slimphp:4.x.

@l0gicgate l0gicgate added this to the 4.7.0 milestone Nov 30, 2020
@l0gicgate
Copy link
Copy Markdown
Member

@edudobay great catch! Let's get this one into the 4.7 release. Thank you!

@l0gicgate l0gicgate merged commit 372ffd1 into slimphp:4.x Nov 30, 2020
@edudobay edudobay deleted the fix_FastRoute_dispatcher_and_data_generator branch November 30, 2020 11:33
@l0gicgate l0gicgate mentioned this pull request Dec 1, 2020
chriscct7 pushed a commit to awesomemotive/aioseo-slim-v3-php-8.1 that referenced this pull request Sep 3, 2025
…r_and_data_generator

Fix: FastRoute dispatcher and data generator should match
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants