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
Fixes#3323
- accumulate return type of operation
- accumulate object types, interface types and union types
- generate object types, interface types and union types (for TypeScript)
This PR mainly handles TypeScript. Other frontends may have similary issue.
Co-authored-by: Yathi <511386+yuth@users.noreply.github.com>
Is your feature request related to a problem? Please describe.
generates:
src/API.ts in TypeScript.
However generated types aren't interchangeable each other.
src/typeCheck.ts:
then
I hit the problem when I tried to use comment list and comment subscription together.
Current workaround is creating model types manually.
I'd say these types should be automatically generated by amplify-cli.
Describe the solution you'd like
generate model types.
Describe alternatives you've considered
I have no other ideas.
Additional context
The text was updated successfully, but these errors were encountered: