swagger-api / swagger-api/swagger-codegen-generators

[typescript-angular] Support for Angular > 11.0.0

Open
#1,030 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
299
Forks
439
PR merge metrics
No merged PRs in 30d

Description

Currently the typescript-angular generator only supports Angular upto version 11.x.x.

By specifing a greater version, the ng core will use version > 11.0.0, but packages like ng-packagr will stay on version 11.x.x.
By looking up the specific generator I found, that the if/else chains starts at 11.x.x.

This occurs in erros, because some imports changed between the version (rxjs/observable --> rxjs)

Could you take a look?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the typescript-angular generator and inspect the if/else chains that begin at Angular 11.x.x, along with the package version handling and imports mentioned in the issue. Verify the generated project with an Angular version above 11 and confirm that ng-packagr and other related packages, including changed rxjs imports, are compatible.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.