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
I do enjoy using the framework. My only concern is the plan of future support of decorators.
Currently, a decorator in Typescript is just another function, which is the first draft of the decorator proposal.
The proposal has been changed dramatically since and Typescript will not follow the proposal until it reaches stage 3.
I am wondering if the Nest team has any plan for decorators if Typescript decides to comply with the Javascript proposal.
Or even worse decorators will never be accepted to the final stage and typescript deprecates it.
Thank you very much for your feedback.
The text was updated successfully, but these errors were encountered:
My two cents on this, Typescript most likely won't deprecate decorators due to frameworks like Nest, Angular, TypeORM, class-*, and others. There's too many libraries that already rely on such features that are widely used as if decorators were already a part of the spec. I assume if things end up drastically changing, plans will be made to accommodate the spec.
As @jmcdo29 mentioned, deprecating decorators would affect a lot of popular TS packages (probably the majority of the most popular ones). There's simply no reason for that. If anything changes, we'll accommodate the spec.
just found this thread! It looks like Typescript 5 has adopted stage 3 decorator, still support stage 1 when experimentalDecorators is turned on. I was wondering what's the plan to adopt stage 3 in nestjs
Hello,
The text was updated successfully, but these errors were encountered: