aws-amplify / aws-amplify/amplify-codegen
Additional option in creating function to generate models using codegen like
- 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?
_No response_
### Is this related to another service?
_No response_
### Describe the feature you'd like to request
In my use case, the lambda function (Java) created using Amplify CLI. I would like to have additional option to create also the model objects with codegen so that I can use them in graphql call from the lambda and easily marshal and unmarshal data.
### Describe the solution you'd like
Additional cli option to create model class for the chosen lambda function runtime language.
### Describe alternatives you've considered
I copied the schema file to a separate folder and ran codegen with Android mobile client which creates the model object for the mobile client in java. But I have manually remove the datastore classed references to keep it plain java object. Because of the unwanted SDK dependencies to lambda function,
### 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.