Releases: Newex/PartialSourceGen
Releases · Newex/PartialSourceGen
v.0.0.20
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
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
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
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
onPartial
attribute. #15
Bugs
- Now also traverses
partial class / structs
and keeps their properties. #14
v.0.0.16
What's Changed
- Fix: FilterOutEntitiesExcept filters only one unmatching type and no enums by @EndOfTheSpline in #12
New Contributors
- @EndOfTheSpline made their first contribution in #12
Full Changelog: v.0.0.15...v.0.0.16
v.0.0.15
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
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
v.0.0.12
Full Changelog: v.0.0.11...v.0.0.12
Changes
- When using
IncludeInitializer
on a non-nullable type, the type will be retained as non-nullable with the initializer set.
v.0.0.9
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.