kubernetes-client / gen

Common generator scripts for all client libraries
Apache License 2.0
148 stars 145 forks source link

[Java] generics not being set #179

Closed abelsromero closed 3 years ago

abelsromero commented 3 years ago

Seems that last commit https://github.com/kubernetes-client/gen/commit/7ba97cc4c7bdac64ace24f85461776877e9b728e has made that List properties do not include the generic type. See for instance how an unchanged property is now generated: image

Running with the previous https://github.com/kubernetes-client/gen/commit/f04504fc2e4ae73e7335a7337bfa552b32eb2031 does not have the issue.

brendandburns commented 3 years ago

Is this a problem? Type inference in Java should do the right thing here.

abelsromero commented 3 years ago

Is this a problem?

Not really, just wondering if this was on purpose since it got me by surprise when checking generated code changes.

This can be closed if this was intended.

brendandburns commented 3 years ago

Thanks, closing.