electricessence / TypeScript.NET

A JavaScript-Friendly .NET Based TypeScript Library (Moved)
https://github.com/electricessence/TypeScript.NET-Core
Other
251 stars 36 forks source link

System.Guid type support #52

Open JBaltika opened 7 years ago

JBaltika commented 7 years ago

Hi, I just found your TypeScript library as i started researching typescript + .net mapping tools. Its really great. I wondering how difficult would be to add something like JS Guid support. You have a Datetime support already and adding support for GUID would allow to use your library with Sql mappers as primary key is GUID most the time. My typescript knowledge is just beginners level and it would be great if the pro like you would add directly to this library. What do you think?

electricessence commented 6 years ago

This sounds like a pretty good idea. Don't have the time at the moment. But that shouldn't stop you from using JS Guid instead. Look for it's type declarations or possibly contribute to the typings.