Releases: PawelGerr/Thinktecture.Runtime.Extensions
Releases · PawelGerr/Thinktecture.Runtime.Extensions
7.6.1
8.0.0-beta12
- [.NET 9] State and result of methods
Switch
/Map
can be aref struct
- [.NET 9] String-based smart enums are
ISpanParsable
8.0.0-beta11
- Smart enums, value object and unions can be nested
- Unions skip generation of (implicit/explicit) conversions if the member type is an interface
- Unions can have members of same type
- Renamed generic type parameter from TContext to TState
- Unions using
UnionAttribute<T1, T2>
are calledad hoc unions
- Implemented "regular" unions
7.6.0
- Added support for EF Core 9
- EF value converter tries to convert provided value to key type to improve user experience
- Smart enums and value object can be nested
- (implicit/explicit) Conversions are not generated if the key type ob an smart enum/value object is an interface
8.0.0-beta10
- EF value converter shouldn't do unnecessary round-trip conversion
- Arrays can be used with unions as well
8.0.0-beta09
- Removed
@
from error message
8.0.0-beta08
- EF value converter shouldn't do unnecessary round-trip conversion
DefaultInstanceProperty
is generated ifAllowDefaultStructs
is set totrue
- Union structs throw
InvalidOperationException
if they are not initialized or initialized with default value - Non-hardcoded method args are escaped by default
7.5.3
8.0.0-beta07
- Unions and value objects structs disallow
default(T)
and parameterless ctors by default. Value objects are configurable viaAllowDefaultStructs
. - Bugfix in analyzer: array types have no module.