jnwltr / swagger-angular-generator

Generator of API layer in TypeScript for Angular 2+ apps
MIT License
91 stars 46 forks source link

Upgrade angular to >=12 <=16 #161

Closed petrhavel2 closed 1 year ago

petrhavel2 commented 1 year ago

Breaking change is to upgrade angular to latest versions.

PeerDependencies:

Structural changes

Functional changes

  1. updated generated code of ngrx/effects, change from @Effect -> createEffect (pipe functionality verified)
  2. changes related to the new version of typescript (override extended function)
  3. added integer validator for forms
  4. fixed calling of commander
  5. support function createDir changed to create recursive structure

Test-case changes

  1. fixed test in param.spec.ts, collision of string[] and number[]
  2. upgraded tests to withContext
  3. fixed deleting properties for tests [registration.service.spec.ts], [put-order.service.spec.ts]