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 additional flags for code generation #34

Open
bendbennett opened this issue Aug 9, 2023 · 0 comments
Open

Consider additional flags for code generation #34

bendbennett opened this issue Aug 9, 2023 · 0 comments

Comments

@bendbennett
Copy link
Contributor

Background

Currently, the generate command has the following subcommands that are available for use with code generation:

  • all: Generate code for provider, resources, and data sources from an Intermediate Representation (IR) JSON file.
  • data-sources: Generate code for data sources from an Intermediate Representation (IR) JSON file.
  • provider: Generate code for the provider from an Intermediate Representation (IR) JSON file.
  • resources: Generate code for resources from an Intermediate Representation (IR) JSON file.

Proposal

Consider the introduction of flags which would allow defining for which data source(s) and resource(s) code should be generated.

Consider the introduction of flags which would allow specifying whether code should be generated for schema, model(s), model helper functions, and/or expand/flatten functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant