weichx

Results 28 comments of weichx

Ah ok, I see what you mean. I'll take a look at this though I'm traveling for the next few days so may not find the time until next week.

How would imagine this plays out? ``` typescript class Thing { @autoseralizeAs(String, true) thing1 : string; //or @autoserializeRequired thing2 : string; } ``` or something else? I like the idea,...

Yeah I agree. I think I prefer the separate annotation. I'll see what I can do about that, or feel free to submit a PR since it will take me...

No no update yet, haven't had the time unfortunately. feel free to submit a PR though

This should be solved in version 2 https://github.com/weichx/cerialize/tree/mw/v2 using `@serializeUsing`

is object a constructable function (ie class type) or just a literal? You shouldn't need to be using `new` in there for sure. If autoserializeAs is not passed a class...

Feel free to submit a PR, I haven't had a chance to look at this yet

I don't know anything about HttpClient or Angular but I don't see why it wouldn't work. You probably need to actually call Serialize/Deserialize though, your sample doesn't invoke Cerialize

Glad you are liking the library! Happy to look at the issue, can provide a small sample of code that isn't working? On Jan 10, 2017 11:02 AM, "Jaspreet Singh"...

It's been 3 years since I've written any JS and I'm completely out of touch with how all this new stuff works. Id be happy to accept a PR if...