Skip to content

Commit

Permalink
Merge pull request #398 from giraffe-fsharp/develop
Browse files Browse the repository at this point in the history
Reduced Dependencies
  • Loading branch information
dustinmoris authored Feb 11, 2020
2 parents 0d4e503 + 915af0f commit 41d6c43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ Please be aware that such a `routex` can create a conflict and unexpected behavi
let webApp =
choose [
routex "/foo(/*)" >=> text "Bar"
routef "/foo/%s/%s/%s" (fun s1, s2, s3 -> text (sprintf "%s%s%s" s1 s2 s3))
routef "/foo/%s/%s/%s" (fun (s1, s2, s3) -> text (sprintf "%s%s%s" s1 s2 s3))
// If none of the routes matched then return a 404
RequestErrors.NOT_FOUND "Not Found"
Expand Down
9 changes: 3 additions & 6 deletions src/Giraffe/Giraffe.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<!-- General -->
<AssemblyName>Giraffe</AssemblyName>
<Version>4.0.1</Version>
<Version>4.1.0</Version>
<Description>A native functional ASP.NET Core web framework for F# developers.</Description>
<Copyright>Copyright 2018 Dustin Moris Gorski</Copyright>
<Authors>Dustin Moris Gorski and contributors</Authors>
Expand Down Expand Up @@ -56,15 +56,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="System.Xml.XmlSerializer" Version="4.3.*" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="1.2.2" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="Utf8Json" Version="1.3.7" />
<PackageReference Include="TaskBuilder.fs" Version="2.1.*" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 41d6c43

Please sign in to comment.