C# Domain Primitives generator
Full Changelog: https://github.com/altasoft/DomainPrimitives/compare/v3.0.0...v3.0.1
AddAllDomainPrimitivesSwaggerMappings caused an error if the asembly was referenced several times as the mapping was added multiple times
There was an error in 2.2.0. Some of the using statements were missing
InvalidDomainValueException
class in InvalidDomainValueException.cs
has been changed from a sealed class to a regular class.AddAllDomainPrimitivesSwaggerMappings
in SwaggerGenOptionsExt.cs
has been modified to take an array of assemblies as a parameter. A new method AddDomainPrimitivesSwaggerMappings
has been added to process each assembly individually.UnderlyingPrimitiveType
attribute has been added to various classes in the DomainPrimitiveGeneratorTest
files.DomainPrimitiveAssemblyAttribute
has been added to DomainPrimitiveAssemblyAttribute.cs
. This attribute is applied to assemblies to indicate that they are part of a DomainPrimitive assembly.UnderlyingPrimitiveTypeAttribute.cs
has been created in the AltaSoft.DomainPrimitives
namespace. This file defines a new attribute class named UnderlyingPrimitiveTypeAttribute
which inherits from the Attribute
class and has a property UnderlyingPrimitiveType.Added new IDomainValue interface that returns underlying Primitive Type and underlying prmitive object
Full Changelog: https://github.com/altasoft/DomainPrimitives/compare/v2.0.1...v2.0.2
Fixed null value handling in == and != operator generation for class types