Skip to content

v0.3.0

Choose a tag to compare

@ful-stackz ful-stackz released this 05 Aug 00:28

Added

  • Introspection API via the new .HasMember() method, available on applicable structure builders
  • More null arguments sanitizing in public methods and consecutively more ArgumentNullException and ArgumentException, which are documented in the respective methods
  • Using Roslyn APIs to generate the source code via an actual AST, rather than string templates hydration

Changed

  • [breaking] .ToSourceCode(bool) has been changed to .ToSourceCode(); all generated code is now formatted by default
  • Refactored the internal structures from class to readonly struct
  • Made better use of optionals and replaced some nullables
  • Enums no longer have a trailing comma

Fixed

  • Fixes the issue described in PR#13 - source code template strings were breaking when hydration keywords were used by consumer code