Skip to content

Added a note about BC #111

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
merged 7 commits into from
Jul 18, 2016
Merged

Added a note about BC #111

merged 7 commits into from
Jul 18, 2016

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jul 16, 2016

This will replace php-http/discovery#77

Discovery
---------

The order of which the strategies are included is not part of our BC promise. The strategies them self is marked
Copy link
Member

@sagikazarmark sagikazarmark Jul 16, 2016

Choose a reason for hiding this comment

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

s/them self is/themselves are

@sagikazarmark
Copy link
Member

👍

@sagikazarmark
Copy link
Member

Someone please review this. I like it.

Discovery
---------

The order of which the strategies are included is not part of our BC promise. The strategies themselves are marked
Copy link
Contributor

Choose a reason for hiding this comment

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

The order of the strategies is not part of our BC promise.

@dbu
Copy link
Contributor

dbu commented Jul 18, 2016

agree with this! i tried to simplify some of the wording, otherwise agree with it.

one question: this doc is speaking in the "we" form. do we generally do that, do we want to do that? or should it be formulated more unpersonal?

@Nyholm
Copy link
Member Author

Nyholm commented Jul 18, 2016

Thank you for the review.

I did not give it much thought at the time of writing. I know that Fabrice Bernhard once said that you should never write "we" in the documentation.

In our documentation we write "we" time to time. (Google search)


The order of the strategies is not part of our BC promise. The strategies themselves are marked
as ``@internal`` so they are also not part of our BC promise.
However, we do promise that we will not remove a strategy neither will we remove classes from the `
Copy link
Member

Choose a reason for hiding this comment

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

the backtick at the end of this line looks like it needs to be removed

* 1.0.0-beta10

The consequences of the BC promise for the discovery library is that you can not rely on the *same* client to be
returned in the future. However, you can be sure that if discovery finds you a client now, future updates will still
Copy link
Member

Choose a reason for hiding this comment

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

I think I would simplify this sentence a bit:

However, if discovery does find a client now, you can be sure that after future updates it will still discover a client.

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you have any suggestions? I've already been corrected on that line: #111 (comment)

Copy link
Member

Choose a reason for hiding this comment

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

I would just change the current sentence with the one I put in the blockquote in my comment. But as @dbu already commented on this before, he may want to add if here actually agrees that that would be easier to read or if he preferred to keep the current sentence.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry Christian... It was a weird comment by me.

I do like your suggestion. I hope David do not mind if I change his suggestion.

Copy link
Contributor

@dbu dbu Jul 18, 2016 via email

Choose a reason for hiding this comment

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

@dbu dbu merged commit b46ce15 into php-http:master Jul 18, 2016
@dbu
Copy link
Contributor

dbu commented Jul 18, 2016

i left the "we" in. its indeed in several places, and i think it fits much better in meta documentation like this than in direct technical documentation where i think we should continue to avoid it.

@Nyholm Nyholm deleted the bc branch July 18, 2016 08:00
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.

4 participants