Andreas Aeschlimann

Results 60 comments of Andreas Aeschlimann

Can you show me an example how you are working now and how you mean that? We are coming from Angular/RXJS and we usually work with the pipe operator to...

Can't you wait until the plugin is loaded before the deserialization? What kind of "magic" is happening in Helper.getType? I would just execute this code before doing the deserialization.

I see, thanks for your comments. I don't know yet if this can be implemented without a breaking change. If not, I would postpone this for v2.0. As soon as...

I am not sure if it is possible, but you are welcome to make a pull request! I do not know at the moment when I will be investing time...

Not yet, unfortunately. Can it be done, considering that generics are gone in the JS compilation?

This could be done, of course. Is there a specific reason why you would want it?

It is not directly possible, if you mean by setting a simple flag. What's possible right now is to exclude it if it is null/undefined with the `isOptional` flag.

You are right, it does not work that way and we should note that in the ReadMe. So the problem is the following: When deserializing JSON to the class, `json2typescript`...

> Using https://github.com/weichx/cerialize you can define also a non empty constructor. Maybe it is possible to the idea from there. Interesting, thank you for the link.

> Hi, i have the same problem but with Dependency Injection, so i cannot use neither optional args nor fake method. I think it is better to pass an instance...