amplify-codegen icon indicating copy to clipboard operation
amplify-codegen copied to clipboard

feat: Add support for JS and TS interfaces/unions

Open MorFix opened this issue 9 months ago • 0 comments

Description of changes

A PR 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. This PR aims to complete this work and add the necessary support

Codegen Paramaters Changed or Added

N/A

Issue #, if available

N/A

Description of how you validated changes

Updating and adding tests at the moment.

Checklist

  • [X] PR description included
  • [ ] yarn test passes
  • [ ] E2E test run linked
  • [ ] Tests are changed or added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

MorFix avatar Feb 06 '25 16:02 MorFix