Skip to content

change signature of setRouteCollections #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

germ1f
Copy link
Contributor

@germ1f germ1f commented Aug 25, 2022

Hello dingo-api team !

I have a suggest to apply : change signature setRouteCollection (cf commit) because getRoutes into https://github.com/api-ecosystem-for-laravel/dingo-api/blob/master/src/Routing/Router.php#L693 can be a collection, I don't know how to reproduce the bug in the tests to show you (i need more time for that).

Sorry if my PR is not perfect, this bug appeared when I upgraded to Laravel 9 and php8 and changes dingo-api package with your.

Thanks for your answers

@christoph-kluge
Copy link
Contributor

@germ1f thank you for finding this out.

I tried to reproduce but with no luck. A stack trace might help here.

Can add a full stack trace which might help to reproduce it.

Copy link
Contributor

@christoph-kluge christoph-kluge left a comment

Choose a reason for hiding this comment

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

I did append some some basic tests to cover UrlGenerator changes.

@christoph-kluge christoph-kluge merged commit 634bed0 into api-ecosystem-for-laravel:master Aug 31, 2022
@Yoruchiaki Yoruchiaki mentioned this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants