Andreas Aeschlimann

Results 58 comments of Andreas Aeschlimann
trafficstars

It would be an interesting feature. Right now it is achievable, but only with a custom mapper. One problem is that this mapping is not bijective. You lose data by...

You are right. The problem is that you can only use json2typescript with properties right now, not with getters and setters. If you do that, how can json2typescript know the...

Hey, thanks for your input. In fact I had already something like this in mind for the next major release. I'll keep this issue open so we'll make sure that...

I don't think json2typescript will properly work with get/set methods for properties, you should always use it with the field. I don't know if it would be easy to implement...

You could also use custom converters and call the set/get methods there. But the decorator needs to be set to the field. Custom converters are a good way to assign...

I just have implemented an Icecast stream into an Ionic app with this package and it works when I wait for a second before calling the play function: const mediaObject...

Hello @capiztrr, I think we have the same issue. When we are on a fast network (i. e. WiFi), the stream url loads almost immediately and the `play()` method works...

> i didnt find any solution yet. > > Yes, you can hardcode like 10 seconds before calling the play method, but its a really weak solution Indeed. Also I...

Can you provide a minimal example in a Stackblitz? I don't think it is possible to get this error with a class definition like above, unless you have a conflict...

I don't know what's going on under the hood with nextjs, but the problem seems that your file `hello.ts` is loaded twice in this application. I was able to verify...