Skip to content
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

If checkbox is unchecked, the resource config field is not necessarily false. Provider might use some default value internally. #16

Open
nmbr7 opened this issue May 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@nmbr7
Copy link
Member

nmbr7 commented May 29, 2024

Notes

  • Currently the renderer doesn't have any info about the default value of any of the fields, the codegen need to support this property.
  • We can only override the field values from the UI and doesn't have any info about the default value of fields before deploying it (We can get the default value after deployment by getting the output of the resource and getting the value of the un-configured fields., this output feature is not implemented in the backend yet)
  • The codegen will have to parse description of the resource input property fields to get the default value if the respective field is available. We could make use of the the usual patterns present in the description like 'default value is ..' or 'defaults to ..' or use an LLM to parse the data for us (Will also require a way to validate LLM generated default value info).
@nmbr7 nmbr7 added the enhancement New feature or request label May 29, 2024
@nmbr7 nmbr7 changed the title If checkbox is unchecked, the cloud resource config field is not necessarily false. The provider may use some default value internally If checkbox is unchecked, the resource config field is not necessarily false. Provider might use some default value internally. May 29, 2024
@nmbr7 nmbr7 moved this to Todo in DesignSphere Tasks Jun 20, 2024
@nmbr7
Copy link
Member Author

nmbr7 commented Jun 20, 2024

This will require change across all the 3 core repos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant