Skip to content

Releases: Newex/PartialSourceGen

v.0.0.20

25 Nov 15:48
Compare
Choose a tag to compare
v.0.0.20 Pre-release
Pre-release

Bug

  • Fix inheritance across assemblies. Only basic functionality, see readme for details.

Full Changelog: v.0.0.19...v.0.0.20

v.0.0.19

24 Sep 23:54
Compare
Choose a tag to compare
v.0.0.19 Pre-release
Pre-release

Small fix

  • Removed copy paste error for XML documentation for PartialTypeAttribute

Full Changelog: v.0.0.18...v.0.0.19

v.0.0.18

24 Sep 19:36
Compare
Choose a tag to compare
v.0.0.18 Pre-release
Pre-release

New features

  • Replace a property type using PartialType. Issue #18.
  • Remove abstract modifier keyword using the RemoveAbstractModifier = true. Issue #17.
  • Resilient against type alias. Can understand (e.g.) using MyTypeAlias = PartialSourceGen.PartialTypeAttribute.
  • Specify which type to inherit from using (e.g.) DerivedFrom = typeof(PartialBaseModel). Issue #16.

Bugs

  • Do not include required keyword on property, unless specified.
  • Default behaviour: Should be to make everything nullable.

Full Changelog: v.0.0.17...v.0.0.18

v.0.0.17

26 Jul 01:32
Compare
Choose a tag to compare
v.0.0.17 Pre-release
Pre-release

Full Changelog: v.0.0.16...v.0.0.17

Features

  • Models that use inheritance, will also get their properties copied (partialized). #14
  • Can specify to keep attributes by IncludeExtraAttributes on Partial attribute. #15

Bugs

  • Now also traverses partial class / structs and keeps their properties. #14

v.0.0.16

14 May 05:01
60b9606
Compare
Choose a tag to compare
v.0.0.16 Pre-release
Pre-release

What's Changed

  • Fix: FilterOutEntitiesExcept filters only one unmatching type and no enums by @EndOfTheSpline in #12

New Contributors

Full Changelog: v.0.0.15...v.0.0.16

v.0.0.15

06 Apr 16:12
Compare
Choose a tag to compare
v.0.0.15 Pre-release
Pre-release

Full Changelog: v.0.0.14...v.0.0.15

Features

  • Add ForceNull attribute to force a property to be nullable

v.0.0.14

06 Apr 04:19
Compare
Choose a tag to compare
v.0.0.14 Pre-release
Pre-release

Full Changelog: v.0.0.13...v.0.0.14

Bugfixes

  • Arrow property created scrambled output

Features

  • Added ExcludePartial attribute

Notes

  • Re-construct snapshot tests in a more manageable structure

v.0.0.13

05 Apr 13:00
Compare
Choose a tag to compare
v.0.0.13 Pre-release
Pre-release

Full Changelog: v.0.0.12...v.0.0.13

Bugfix

  • Make generated marker attributes internal and sealed

v.0.0.12

05 Apr 09:27
Compare
Choose a tag to compare
v.0.0.12 Pre-release
Pre-release

Full Changelog: v.0.0.11...v.0.0.12

Changes

  • When using IncludeInitializeron a non-nullable type, the type will be retained as non-nullable with the initializer set.

v.0.0.9

04 Apr 05:30
Compare
Choose a tag to compare
v.0.0.9 Pre-release
Pre-release

Full Changelog: v.0.0.8...v.0.0.9

Features

  • The generated file is now partial so that it can be extended by the user with any custom code.