-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Revert "Convert client.List to use functional options" #146
Conversation
cc: @grantr |
@grantr @DirectXMan12 This introduces breaking change without any deprecation (which is making harder to make it available in v0.1.x versions of controller-runtime). We need to cut a release to unblock some other features, lets revert it for now, and figure out how we want to roll out this breaking change. |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: mengqiy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@droot has the situation changed since #106 (comment)?
FWIW #94 is technically a breaking change to the interface also, though unlike #106 it adds critical functionality to |
@grantr Though we have started versioning controller-runtime, we still do not have a process for managing multiple revisions like branches for 0.1.x and 0.2.x.. and cherrypicking etc. I was assuming we will introduce "ListVariadic" version without dropping the existing "List" method which is not breaking compatibility (in hard way) because interface and implementation are both the provided by Sorry, I was OOO last week and couldn't participate in review. |
It is a breaking interface change. Any existing implementations of the interface will no longer compile. See #94 (comment). |
Yes, this is true. From this perspective, even |
That seems like a reasonable policy to me. Maybe something to add to the compatibility guarantee, if there is one. |
I think we should have a broader conversation about this... things like |
…6-list-options Revert "Convert client.List to use functional options"
Move quick start guide from README.md into the GitBook.
Reverts #106
#106 is a breaking change to the client interface.
Per suggestion from @pwittrock, we are going to revert it for now before we make a decision about how to deal with it.
We can decide later if we want to introduce the new signature as a new method and mark the old one as deprecated or do a
v0.2.0
release for it.