Skip to content

0.4.0

Compare
Choose a tag to compare
@vbfox vbfox released this 08 Sep 17:42
· 177 commits to master since this release
  • Static methods Parse and TryParse are lifted.
  • A variant of TryParse returning a nullable instead of using an out
    parameter is generated if TryParse exists.
  • Types can now be placed in the same file and the default is to place them
    all in a file named as the .stidgen file but with a .Generated.cs extension.
  • The previous behavior is available by specifying UseNameAsFileName: true.
  • Added a more complete set of unit tests.
  • Multiple files can now be passed to the command line.
  • The command line now support globs like **\*.stidgen.
  • Generated files and types are now shown on the console.
  • BUGFIX: Generic underlying types weren't correctly handled, the name was
    the FullName of the Type instead of C# code.
  • BUGFIX: Casts to and from nullable were still generated for Nullable
    underlying resulting in invalid code.
  • BUGFIX: EqualsUnderlying: true generated code for .Equals but didn't
    generate the == and != operators.