deprecate reply.channel#2142
Conversation
|
/hold We still need to agree that's a good thing to do. |
|
/retest |
|
/hold cancel |
|
/assign @vaikas |
| // with a reference to the Addressable duck type. If the resource does not meet this contract, | ||
| // it will be reflected in the Subscription's status. | ||
| // +optional | ||
| Destination *apisv1alpha1.Destination `json:",inline"` |
There was a problem hiding this comment.
I think what is happening here is go promotes the type as the field name automatically, but I think we should make it clear that we do not intend to have a named field in the future.
If you change this to:
*apisv1alpha1.Destination `json:",inline"`Then we can do things like subscription.Spec.Reply.URI and this will just work (it will also work with subscription.Spec.Reply.Destination.URI because of go).
At the moment it only will work with subscription.Spec.Reply.Destination.URI
|
Other than the named field issue, looks good to me. |
e29462c to
9c00ba8
Compare
|
The following is the coverage report on the affected files.
|
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lionelvillard, n3wscott The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #1936
Proposed Changes
Release Note