-
I need to update the tsed packages because the json-schema 0.2.5 has prototype pollution. I noticed the latest version of v4 and v5 still use this version of json-schema 0.2.5 I know of some things already since I have started this process. Like importing Service comes from "@tsed/di" now. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @wyspar the json-schema is just used as type declaration. The code isn’t executed by tsed. there is no a strict equivalent to ParamRegistry.decorate and honestly I don’t remember what is the exact behavior of this function. See you |
Beta Was this translation helpful? Give feedback.
Hum ok the Filter is now called Pipe in v7:
https://tsed.io/docs/pipes.html
you have to rewrite your Filter to a Pipe using Pipe API. It should works, because Pipe is more flexible rather than the legacy Filter. ;)
See you
Romain