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

Re-reading private service section #4748

Merged
merged 2 commits into from
Jan 4, 2015
Merged

Re-reading private service section #4748

merged 2 commits into from
Jan 4, 2015

Conversation

weaverryan
Copy link
Member

Q A
Doc fix? yes
New docs? kind of
Applies to all
Fixed tickets n/a

Hi guys!

This follows #4656. I merged that, but then realized that if you read the wider section, the top was still talking about private services as if their benefit was to not allow fetching directly (whereas the true emphasis now is on performance, and how get() may or may not work.

Thanks!

@weaverryan weaverryan changed the title [#4656] Re-reading private service section Re-reading private service section Jan 3, 2015
*might* fail, see the explaination above)::
What makes private services special is that they are converted from services
to inlined instantiations (e.g. ``new PrivateThing()``) if they are only
injected once. This increases the container's performance.
Copy link
Member

Choose a reason for hiding this comment

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

well I know it isn't very great english (well, at least it isn't very good dutch), I like "What makes private services special is that, if they are only injected once, they are converted from services to inlined instantiations (e.g. new PrivateThing())." more

Copy link
Member Author

Choose a reason for hiding this comment

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

It does sound better to me - good suggestion :)

@weaverryan weaverryan merged commit 8f5e210 into 2.3 Jan 4, 2015
weaverryan added a commit that referenced this pull request Jan 4, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Re-reading private service section

| Q   | A
| --- | ---
| Doc fix? | yes
| New docs? | kind of
| Applies to | all
| Fixed tickets | n/a

Hi guys!

This follows #4656. I merged that, but then realized that if you read the wider section, the top was still talking about private services as if their benefit was to *not* allow fetching directly (whereas the true emphasis now is on performance, and how `get()` may or may not work.

Thanks!

Commits
-------

8f5e210 Re-wording based on Wouter's recommendation
0f86a86 [#4656] Re-reading private service section
@xabbuh xabbuh deleted the private-services branch January 5, 2015 08:27
@timglabisch
Copy link
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants