Comments (5)
I started to look at this but i can't get my fork to run on my machine.
The build can't access Microsoft.CodeAnalysis.CSharp even though it's clearly there and everything is restore properly. (I'm on a win 10 machine with VS2017 pro).
I might have a look later in the week.
But please respond if guys this this is even a viable feature req.
from mtt.
I understand the need but currently any kind of type annotation is not feasible because the code is not compiled.
I've been considering compiling the c# to use reflection so if I do then this could be added.
from mtt.
I started to look at this but i can't get my fork to run on my machine.
The build can't access Microsoft.CodeAnalysis.CSharp even though it's clearly there and everything is restore properly. (I'm on a win 10 machine with VS2017 pro).I might have a look later in the week.
But please respond if guys this this is even a viable feature req.
That was an experimental build that accidently got pushed to main. MTT doesn't actually use code analysis so I removed the references, you should now be able to restore and build the project.
from mtt.
I'd also love this.
It's more of a preferential thing but I'd prefer that my Guid's come down as string in TS.
Like I said it's a personal bias so being able to override that would be a nice to have.
from mtt.
I played around with this idea back when the issue was created and it seemed like the best approach would be using type annotations. However the code is not compiled so those annotations would have to be parsed somehow, without losing what field is supposed to be overridden and what its supposed to be overridden with. It seemed like it could get messy so I never bothered, but someone is more than welcome to add this in a PR and I would approve if it doesn't break anything.
from mtt.
Related Issues (20)
- IDictionary to plainobject HOT 2
- AutoGenerated tag doesn't use the correct newline for the environment
- It also works on Ubuntu 18.04 HOT 1
- Error when Trying to Convert DTOs HOT 4
- Dictionary not generated correctly HOT 2
- Ignores collection properties with initializers HOT 1
- Multi-line comments are still parsed
- Consider converting Dictionary to Map type. HOT 4
- Nullable types with ? HOT 1
- The "ConvertMain" task failed unexpectedly HOT 4
- There should be an option to generate Classes instead of interfaces HOT 3
- Support dto bundles
- Nullable properties are lost
- Add Option For Single Quotes
- Support Multiple source DTO's In One File
- Support Multiline constructors HOT 1
- How do i exclude dto properties from typescript
- Support for records
- Option to generate 'barrel' file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtt.