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

Add 2.0 upgrade docs #128

Merged
merged 1 commit into from
Dec 19, 2017
Merged

Add 2.0 upgrade docs #128

merged 1 commit into from
Dec 19, 2017

Conversation

emodric
Copy link
Collaborator

@emodric emodric commented Dec 19, 2017

Documents upgrading to 2.0, specifically:

#122
#126
#127

services from legacy bridge.

* Most of the services have been marked as private in Symfony DI container.
You should not fetch them from container directly any more, instead, inject
Copy link
Contributor

@andrerom andrerom Dec 19, 2017

Choose a reason for hiding this comment

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

anymore? instead inject

You should not fetch them from container directly any more, instead, inject
them as constructor arguments into your services.

* HTTP 404 error conversion in legacy mode `false` siteaccesses is now turned
Copy link
Contributor

@andrerom andrerom Dec 19, 2017

Choose a reason for hiding this comment

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

something like this might be easier to grasp:HTTP 404 error conversion when legacy mode is false in given siteaccesses is now always handled by Symfony, and config option to control this has been removed so the logic follows legacy mode setting. If you have ...

Copy link
Contributor

@andrerom andrerom left a comment

Choose a reason for hiding this comment

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

Besides nitpick, +1

@emodric
Copy link
Collaborator Author

emodric commented Dec 19, 2017

@andrerom Fixed both nitpicks.

@andrerom
Copy link
Contributor

andrerom commented Dec 19, 2017

And this one made the other PR much more clear (which is why dealing with dev doc in same PR as code is sometimes a good thing ;))

@andrerom andrerom requested a review from kmadejski December 19, 2017 09:12
@emodric
Copy link
Collaborator Author

emodric commented Dec 19, 2017

(which is why dealing with dev doc in same PR as code is sometimes a good thing ;))

;)

@andrerom andrerom merged commit 8f284c2 into master Dec 19, 2017
@andrerom andrerom deleted the upgrade_docs branch December 19, 2017 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants