Releases: PawelGerr/Thinktecture.Runtime.Extensions
Releases · PawelGerr/Thinktecture.Runtime.Extensions
9.0.0
8.9.1
8.9.0
8.8.1
- [Swashbuckle] Non-null reference types and types with IDisallowDefaultValue are flagged as required.
- [Swashbuckle] ComplexValueObjectSchemaFilter sets "additionalProperties" to false because serializers are quite strict.
- Serializers are using Argument for structs disallowing default values to recognize missing values.
- Serializers and model binders for keyed value objects check whether the (struct) value is missing, everything else is the responsibility of the validation.
8.8.0
8.7.0
- [EF] Added extension method
HasValueObjectConversion
for property builders - JSON and MessagePack serializers check for
AllowDefaultStructs
and for null - ASP.NET Core model binder behaves similar to JSON/MessagePack converters when checking for
AllowDefaultStructs
and null - Complex value objects check NRTs for null
- Generation of serializers can be deactivated via
SmartEnumAttribute
/ValueObjectAttribute
- [Analyzer] Struct-based smart enums and value objects with reference key types, as well as ad hoc unions must be required to get proper initialization
- Conversion of unions from/to a value can be controlled via
UnionAttribute
8.6.1
- [Analyzer] Multiple restrictions for regular unions
- Union records must be sealed (because of copy constructor)
- Union class must be sealed or have private constructors
- Derived type of a union must not be less accessible than the base union
- Derived type of a union must not have unbound generic parameters
- Implicit conversion is not generated for regular unions if it contains required members.
- Special handling of types and members starting with underscores and numbers