diff --git a/Nano.Models/Extensions/TypeExtensions.cs b/Nano.Models/Extensions/TypeExtensions.cs index 3659165..c753015 100644 --- a/Nano.Models/Extensions/TypeExtensions.cs +++ b/Nano.Models/Extensions/TypeExtensions.cs @@ -67,11 +67,17 @@ public static bool IsSimple(this Type type) || type.IsEnum || type == typeof(string) || type == typeof(Guid) + || type == typeof(Guid?) || type == typeof(TimeSpan) + || type == typeof(TimeSpan?) || type == typeof(TimeOnly) + || type == typeof(TimeOnly?) || type == typeof(DateOnly) + || type == typeof(DateOnly?) || type == typeof(DateTime) + || type == typeof(DateTime?) || type == typeof(DateTimeOffset) + || type == typeof(DateTimeOffset?) || type == typeof(Nullable<>); } diff --git a/NanoCore.nuspec b/NanoCore.nuspec index f08309f..e3af82c 100644 --- a/NanoCore.nuspec +++ b/NanoCore.nuspec @@ -2,7 +2,7 @@ NanoCore - 8.3.1 + 8.3.2 Nano Core Rapidly built and deploy rich .NET 8.0 applications. Configuration, Security, Logging, Data, Hosting, Docs, Localization, Versioning, Api, Error-Handling, and much more. The project is inspired by years of tedious repetitions, continuously re-writing similar code-snippets and libraries, to handle common functionality, not related to the business domain, such as logging, data persistence, message queuing, documentation, validation and similar. @@ -16,9 +16,7 @@ https://github.com/Nano-Core - - Removed GuidNotEmptyAttribute. - - Added GuidNotEmpty convention to Required annotation. - - Fixed exception when updating directly in db using a query and properties to set. + - Fixed issue with IsSimpleType().