You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, only a single version of @principlestudios/openapi-codegen-typescript can be used in a project because the generated types reference the project directly.
Options:
Consider moving TS dependencies into generated output instead of the shared library for better side-by-side support of other versions of the generator. TS has to work much harder to detect types if packaged with the adapter layers - it doesn't succeed even with the exact same type definitions. This seems like a non-starter.
For generation, allow customization of the package where the typings and helpers are found. This could be a command-line switch.
The text was updated successfully, but these errors were encountered:
Currently, only a single version of
@principlestudios/openapi-codegen-typescript
can be used in a project because the generated types reference the project directly.Options:
Consider moving TS dependencies into generated output instead of the shared library for better side-by-side support of other versions of the generator.TS has to work much harder to detect types if packaged with the adapter layers - it doesn't succeed even with the exact same type definitions. This seems like a non-starter.The text was updated successfully, but these errors were encountered: