You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.9.0
Amplify CLI Version
10.7.3
What operating system are you using?
Mac
Amplify Codegen Command
codegen models
Describe the bug
I'd like to be able to generate typescript models such that they are as they would be when using the API from aws-amplify.
Basically, just creates the base typescript models without lazy models, inits, etc.
Right now it doesn't even create arrays with the items member and nextToken.
Expected behavior
Create typescript models with the structure that the GraphQL API returns.
Reproduction steps
amplify codegen models for any schema
GraphQL schema(s)
# Put schemas below this line
Log output
# Put your logs below this line
Additional information
No response
The text was updated successfully, but these errors were encountered:
Hi @charlesfayal - Thank you for submitting. Marking this as a feature request, and we'll update this ticket as we consider updating the DX for Datastore in the future.
Before opening, please confirm:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.9.0
Amplify CLI Version
10.7.3
What operating system are you using?
Mac
Amplify Codegen Command
codegen models
Describe the bug
I'd like to be able to generate typescript models such that they are as they would be when using the API from aws-amplify.
Basically, just creates the base typescript models without lazy models, inits, etc.
Right now it doesn't even create arrays with the items member and nextToken.
Expected behavior
Create typescript models with the structure that the GraphQL API returns.
Reproduction steps
amplify codegen models for any schema
GraphQL schema(s)
# Put schemas below this line
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: