Make ApiObject.props public #2236
Labels
@component/cdk8s-cli
Issue related to cdk8s-cli
effort/medium
1 week tops
feature-request
New/Enhanced functionality wanted
priority/p2
Dependent on community feedback. PR's are welcome :)
Description of the feature or enhancement:
I would like to use cdk8s-plus types, but after they've been created (e.g.
new KubeDeployment(...)
), the props are not accessible, so KubeDeployment (etc.) cannot be injected as a dependency, which I thought is the normal practice in CDK, e.g.new MyCustomServiceType(scope, id, { deployment: myDeployment })
Is it possible to change this to
public
? If no, why not? And in that case, is it technically possible to fork the repo and change it, or are the technical reasons why this cannot be made public? I understand that people may try to modify properties, but it is readonly.Use Case:
Proposed Solution:
Other:
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: