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

Consider exposing a Go module for consuming framework code generation logic programmatically #102

Open
1 task done
austinvalle opened this issue Dec 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@austinvalle
Copy link
Member

austinvalle commented Dec 18, 2023

Use Cases or Problem Statement

There are use-cases where a developer may want more fine-grain control of the framework code generation process, or may want to combine the generator with their own custom Go code generation.

Currently, a developer would need to write a tool that interacts with the tfplugingen-framework CLI directly which currently doesn't expose any information about the process, outside of the resulting Go code 😄. The CLI interface was also not designed with this in mind, so it can be cumbersome to implement.

Proposal

Expose a Go module that can be consumed by other developer tools that contains the same logic as the CLI (generating schema, data models, etc.)

Proposed package design + API is TBD 😄

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@austinvalle austinvalle added the enhancement New feature or request label Dec 18, 2023
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
None yet
Development

No branches or pull requests

1 participant