Sorikairo
TC39 stage 3 decorators not working anymore in Deno Deploy
Do you have any open source repo of a project you deployed on Deno deploy that uses it by any chance ? it's on the back of my head for 2 years, if it gives me a resolution it would be cool (already starring all the repo you linked, for fairness)
72 replies
TC39 stage 3 decorators not working anymore in Deno Deploy
But deno_reflect also need
emitDecoratorMetadata
as stated by their doc https://deno.land/x/deno_reflect@v0.2.0
(it's also what Danet uses)72 replies
TC39 stage 3 decorators not working anymore in Deno Deploy
https://github.com/cleverplatypus/oak-decorators/blob/master/tsconfig.json
has
emitDecoratorMetadata
72 replies
TC39 stage 3 decorators not working anymore in Deno Deploy
72 replies
TC39 stage 3 decorators not working anymore in Deno Deploy
If it has not been implemented/fixed yet, @fro.profesional you have to first bundle your app in your ci/locally with the emitDecoratorMetadata options and then upload the bundle to deploy. Here is a guide to do so https://danet.land/deno-deploy.html
72 replies
TC39 stage 3 decorators not working anymore in Deno Deploy
Dropping in because oak decorators is really close to https://github.com/Savory/Danet
Last time I checked around 6 months ago, deploy does not handle
emitDecoratorsMetadata
while the runtime does,so if you rely on paramstype metadata it won’t work. Maybe it has been implemented since @bartlomieju ?72 replies