-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQ] Please Support Angular 9 #5246
Comments
Is this just as simple as updating the generator to reference Typescript >= 3.6.4 and rxjs? Or is more required? If it's that simple I can submit a PR for this issue as I'm keen to get it resolved also. EDIT: Seems like its more than just that, I don't think the openapi generators work with AOT. App startup asplodes with |
anyone up to adapting the code here: https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/typescript-angular ? |
I also updated @lewcianci Your error At my side everything works fine now with a manually updated package.json. |
@eiswind so you updated your I updated all angular versions as well ( but I believe it takes the value from the command line anyway), and although I can build the module, when I include it in my application, and use it I get cyclic dependency errors
There is a chance I am still just on the wrong rxjs version ( Generate command:
Other details P.S. Also note that this application does use |
This worked at my side:
|
Thanks for sharing the versions you are using. I will try going to rx My issue seems to be around importing |
I have the exact same problem. Did you already fix it? |
everything works fine now. The See also: angular/angular#25813 |
Somehow this is not working for me in a generated library of mine. Heres my {
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"mobile-client": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"preserveSymlinks": true, Any ideas?
See also: Question on stackoverflow |
@ltomes |
Unfortunately I don't have access to this codebase anymore and I don't remember what the solution was. I do remember this was painful, and required the rest of the angular app to run on versions openapi-generator preferred. |
I am currently working on Angular v14 right now and I think the |
@macjohnny Since #12901 is still working right now, I don't know if the |
@3LexW the differences in the generated code between ng 14 and ng 13 only affect the package.json |
Is your feature request related to a problem? Please describe.
Angular 9 has new requirements on typescript and rxjs that require updates.
The text was updated successfully, but these errors were encountered: