amplify-codegen
amplify-codegen copied to clipboard
Amplify Codegen is a JavaScript toolkit library for frontend and mobile developers building Amplify applications.
### Environment information ```plain text System: OS: Windows 10 10.0.19045 CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor Memory: 13.23 GB / 31.93 GB Binaries: Node: 18.18.2 - C:\Program...
### Before opening, please confirm: - [x] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-js/issues?q=is%3Aissue+) and [discussions](https://github.com/aws-amplify/amplify-js/discussions). - [x] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-js/blob/main/CONTRIBUTING.md#bug-reports). - [x]...
### Before opening, please confirm: - [x] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists. - [x] I have...
### Before opening, please confirm: - [x] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists. - [x] I have...
### Describe the feature you'd like to request Hi Team, Hope this message finds you well. In our office project, we are trying to migrate our amplify codebase from github.com...
### Describe the feature you'd like to request Problem The current amplify-codegen depth logic (--maxDepth) increments depth for every nesting level, including into non-@model types (embedded objects/lists within a table)....
### Describe the feature you'd like to request Problem The current amplify-codegen generates GraphQL queries, mutations, and subscriptions with a uniform depth (configurable via --maxDepth), but it doesn’t address redundant...
### Environment information ```plain text carl@Carls-MacBook-Pro ~/Devel/.../website (rel_20241010) npx ampx info System: OS: macOS 14.6.1 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 1.10 GB / 32.00 GB...
#### Description of changes A [PR](https://github.com/aws-amplify/amplify-codegen/pull/795) has added support for unions and interfaces. However, they were still not working for generating models for JS/TS -`index.js`, `index.d.ts`, and `schema.js` metadata file....
### Environment information ```plain text System: OS: macOS 14.4.1 CPU: (8) arm64 Apple M1 Memory: 251.17 MB / 16.00 GB Shell: /bin/zsh Binaries: Node: 23.6.0 - /opt/homebrew/bin/node Yarn: undefined -...