-
Notifications
You must be signed in to change notification settings - Fork 195
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
Support parsing type parameters #255
Conversation
|
Welcome @TheSpiritXIII! |
Hi @TheSpiritXIII. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
dc15ff5
to
d72b729
Compare
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
If you are still keen to merge this - could you rebase it to gengo/v2? I'd like to see this fixed. |
d72b729
to
926e980
Compare
926e980
to
239d3d4
Compare
Thanks! I've split this PR into two, as deepcopy has moved into kubernetes/kubernetes. The deepcopy test PR can be found here: kubernetes/kubernetes#123996 Note, I had to upgrade |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: TheSpiritXIII, thockin 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 |
This PR allows the parser to parse generics (partial fix for #225).
However, this PR does not allow generators to take advantage of it. For example, the deepcopy generator will still fail if you use a generic field, because it does not know whether that generic has a
DeepCopy
method. Although, the deepcopy generator will now work when you use a phantom type, which was not possible before. What are the use-cases for a phantom type? No clue, but I figured splitting the fix for #225 into multiple PRs would be easier to get reviewed and merged.