Skip to content
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

UrlGenerator Sandbox #896

Merged
merged 2 commits into from
May 23, 2024
Merged

Conversation

dbpolito
Copy link
Contributor

Currently we're sending the same instance of URL across all requests, when changing defaults or forceRootUrl, the change is happening across all requests...

This should also fix #809

@taylorotwell
Copy link
Member

I wonder if this would be a breaking change, especially around the defaults stuff. If someone set a default for localization purposes for example and it was lost on subsequent requests it seems like that could be a problem?

@dbpolito
Copy link
Contributor Author

dbpolito commented May 21, 2024

Well it may depend on where you call it... But if you call it on on middleware where it's recommended it shouldn't have any impact as in theory you will always be setting it...

But tbh, i think the potential problems we currently have is probably bigger than the people that may be impacted (which is very minimum i think)... 🤔

@taylorotwell taylorotwell merged commit 54a34e0 into laravel:2.x May 23, 2024
12 checks passed
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.

UrlGenerator warming up issue
2 participants