Attila Oláh
Attila Oláh
A related fix has been merged in #463, which prevents a JS error from happening when a Promise is found on a property during transformation.
A related fix has been merged in #262.
Another workaround mentioned by @marekberger in #313 [ref](https://github.com/typestack/class-transformer/issues/313#issuecomment-582832200) > Try to put a paths mapping into your root tsconfig.json: > > ```json > { > "compilerOptions": { > "baseUrl": "./",...
> do you have any suggestions on how to ensure that? You need to make sure that every package you use requires the same version of class-transformer, in that case,...
I am not actively maintaining this lib so won't implement this, but if someone comes up with a solution we can give it a go. For other readers: if you...
Care to make a PR?
I don't think this is possible currently.
Technically the current behavior is correct because a port can be described as a pipe and that will be a string. However, I think that is such a rare use-case...
> What do you mean by port can be described as a pipe? When you expect a port most cases you either get a port number: `8080` or you can...
I am down for discussion, but still afraid of multiple types. How about accepting only numbers then, does that makes more sense? I am not totally firm on not allowing...