diff --git a/Fritz.InstantAPIs/MapApiExtensions.cs b/Fritz.InstantAPIs/MapApiExtensions.cs index 5cc1ac7..17617bf 100644 --- a/Fritz.InstantAPIs/MapApiExtensions.cs +++ b/Fritz.InstantAPIs/MapApiExtensions.cs @@ -13,7 +13,8 @@ internal class MapApiExtensions // TODO: Authentication / Authorization private static Dictionary _IdLookup = new(); - private static ILogger Logger; + + private static ILogger Logger; internal static void Initialize(ILogger logger) where D: DbContext @@ -21,7 +22,8 @@ internal static void Initialize(ILogger logger) { Logger = logger; - var theType = typeof(C); + + var theType = typeof(C); var idProp = theType.GetProperty("id", BindingFlags.IgnoreCase | BindingFlags.Public | BindingFlags.Instance) ?? theType.GetProperties().FirstOrDefault(p => p.CustomAttributes.Any(a => a.AttributeType == typeof(KeyAttribute))); if (idProp != null) diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt index cc18a7d..13a8087 100644 --- a/RELEASE_NOTES.txt +++ b/RELEASE_NOTES.txt @@ -2,4 +2,4 @@ - Introduced a fluent configuration API for defining which tables to include and exclude from the Entity Framework Context. - Added the ability to create APIs from JSON files on disk - Added ability to specify OpenAPI configuration -- Added Logging for reflection API generation \ No newline at end of file +- Added Logging for reflection API generation