aws-amplify / aws-amplify/amplify-codegen
Ability to setup codegen to output to a function
- Dominant language
- TypeScript
- Stars
- 59
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
### Is this feature request related to a new or existing Amplify category?
function, api
### Is this related to another service?
codegen
### Describe the feature you'd like to request
Ability to configure and output codegen to multiple locations (specifically functions) from amplify codegen configure
### Describe the solution you'd like
I'd like the ability to do:
amplify codegen configure
- add ability to add additional output locations (specifically a specific lambda function or layer)
- ability to set output format (ts, js, etc)
- codegen would then output files to multiple locations when run
The use case is ensuring that functions are up to date with the latest graphql, and simplifying the process of getting up and running with queries/mutations in functions.
### Describe alternatives you've considered
The manual process sucks...lots of errors over time...hard to keep things in sync.
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
### Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Assessment
This issue has not been assessed yet.