amplify-codegen
amplify-codegen copied to clipboard
Additional option in creating function to generate models using codegen like
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
Hey @OLTApp :wave: thanks for raising this! I've transferred this over to our codegen repo for better assistance 🙂
Hey @OLTApp 👋 thanks for raising this! I've transferred this over to our codegen repo for better assistance 🙂
@josefaidt - Thank you !
Hi @OLTApp - this makes sense as a feature request, I've tagged it as such, and it's popped in our backlog. Thank you for reaching out!