Releases: CodySchrank/MTT
Added Pascal Case PropertyStyle Option
Added property style option that will output generated typescript files into pascal case.
Thanks @stewartgordonsitka!
Various improvements to input handling, updated dictionary conversion, better constructor parsing
- MTT now supports multiple input directories and will calculate relative paths between models across all input dirs for import statements.
- Dictionaries can now support lists or arrays as generic arguments. Previously these would map to any.
- Constructors spread over multiple lines (with long lists of arguments) are now supported.
All thanks to @jj05y!
Dictionary now changes from map into partial record; fix bugs; updated runner to 3.1
-
Updated dictionary to now change into partial record (Thanks @jj05y!). This is BREAKING. If you prefer the old behavior of dictionary transforming into map then do not use this version. However, partial records will behave closer to JSON when used in ts/js.
-
Fixed a bug with Guid
-
Updated mtt runner and mtt test suite to use netcoreapp 3.1
Dictionary now changes into Map
For dictionary type it is more useful to use the native Map type than it is to use any.
Fixed multiple bugs, added multiple improvements
The following features were added:
- Add support for IList and initializers
- Import statement improvement
- Support string enums
- kebab-case support
A few bugs were fixed related to the way files and folders were deleted and recreated.
All thanks to ItielBeeri & geirsagberg!
Fixed bugs with enums. Added Unit Testing
Added basic unit testing.
Fixed bug with enum not ignoring usings and attributes thanks to BlueBasher.
Fixed multiple bugs. Core Reorganization. MTTRunner
- Fixed bug to remove comments and preprocessor directives from enums
- Fixed a bug that when the Working Directory did not exists, the newly created dir was assigned to LocalConvertDir instead of LocalWorkingDir.
- Separated the Converting logic and the MSBuildTask by moving the code to a ConvertService.
- Added a MTTRunner ConsoleApp to help in quickly running/debugging the ConvertService.
All thanks to BlueBasher.
Skip PreProcessor directives
Thanks to BlueBasher
Fixed parsing of Dictionary
Thanks to rcheung9
Added support for hex enums
Thanks to BlueBasher