Skip to content

Commit 33510ad

Browse files
committed
Release new version of Functional.AspNetCore and Functional.Logger
1 parent 84a9be0 commit 33510ad

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/Codehard.Functional/Codehard.Functional.AspNetCore/Codehard.Functional.AspNetCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
<Version>3.0.1</Version>
7+
<Version>3.1.0</Version>
88
<Description>A library contains common code related to functional programming in ASP.NET Core based on LanguageExt.</Description>
99
<PackageProjectUrl>https://github.com/codehardth/Codehard.Functional</PackageProjectUrl>
1010
<RepositoryUrl>https://github.com/codehardth/Codehard.Functional</RepositoryUrl>

src/Codehard.Functional/Codehard.Functional.AspNetCore/ControllerExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static IActionResult MatchToResult<T>(
6969

7070
/// <summary>
7171
/// Match a Fin of Option <typeparamref name="T"/> into IActionResult.
72-
/// When option is none the NotFound status is returned.
72+
/// When the option is none, the NotFound status is returned.
7373
/// </summary>
7474
public static IActionResult MatchToResult<T>(
7575
this Fin<Option<T>> fin,
@@ -118,7 +118,7 @@ public static ValueTask<IActionResult> RunToResultAsync<T>(
118118
}
119119

120120
/// <summary>
121-
/// Run the effect into IActionResult in a synchronous manner.
121+
/// Run the effect into IActionResult synchronously.
122122
/// </summary>
123123
public static IActionResult RunToResult<T>(
124124
this Eff<T> eff,

src/Codehard.Functional/Codehard.Functional.Logger/Codehard.Functional.Logger.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
<Version>2.5.0</Version>
7+
<Version>2.6.0</Version>
88
<Description>A library contains common code related to functional programming with logger based on LanguageExt.</Description>
99
<PackageProjectUrl>https://github.com/codehardth/Codehard.Functional</PackageProjectUrl>
1010
<RepositoryUrl>https://github.com/codehardth/Codehard.Functional</RepositoryUrl>

src/Codehard.Functional/Codehard.Functional.Logger/LoggerExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public static Unit Log(this ILogger logger, Error error, LogLevel logLevel = Log
6767
}
6868

6969
/// <summary>
70-
/// Log as error if an error contains exception, otherwise log information if there is a message within an error object.
71-
/// Then returns the error back.
70+
/// Log as an error if an error contains an exception, otherwise log information if there is a message within an error object.
71+
/// Then returns the error.
7272
/// </summary>
7373
/// <param name="logger"></param>
7474
/// <param name="error"></param>

0 commit comments

Comments
 (0)