Skip to content

Commit fd0ae9e

Browse files
author
Mikhail Shilkov
committed
Version 0.1.0
1 parent a19abeb commit fd0ae9e

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ as the second parameter. Azure Function still has to be defined separately:
7676

7777
``` fsharp
7878
[<FunctionName("SayTyped")>]
79-
let SayHello([<ActivityTrigger>] name) = sayHello.run name
79+
let SayHello([<ActivityTrigger>] name) = Activity.run sayHello name
8080
```
8181

8282
The orchestrator can now infer types from the activity type:

src/DurableFunctions.FSharp/Activity.fs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ module Activity =
2424
run = fun x -> f x |> Async.StartAsTask
2525
}
2626

27+
/// Runs the activity
28+
let run activity = activity.run
29+
2730
/// Call an activity by name, passing an object as its input argument
2831
/// and specifying the type to expect for the activity output.
2932
let callByName<'a> (name: string) arg (c: DurableOrchestrationContext) =

src/DurableFunctions.FSharp/DurableFunctions.FSharp.fsproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,20 @@
1010
<ItemGroup>
1111
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.DurableTask" Version="1.7.0" />
1212
</ItemGroup>
13+
14+
<!-- NuGet Publishing Metadata -->
15+
<PropertyGroup>
16+
<Title>Azure Functions F# API</Title>
17+
<Authors>Mikhail Shilkov</Authors>
18+
<Description>F#-friendly API layer for Azure Durable Functions</Description>
19+
<PackageReleaseNotes>https://github.com/mikhailshilkov/DurableFunctions.FSharp/releases/</PackageReleaseNotes>
20+
<PackageTags>Azure;Durable;Extension;Orchestration;Workflow;Functions;FSharp</PackageTags>
21+
<PackageLicenseUrl>https://github.com/mikhailshilkov/DurableFunctions.FSharp/blob/master/LICENSE</PackageLicenseUrl>
22+
<PackageProjectUrl>https://github.com/mikhailshilkov/DurableFunctions.FSharp</PackageProjectUrl>
23+
<IncludeSymbols>true</IncludeSymbols>
24+
<RepositoryUrl>https://github.com/mikhailshilkov/DurableFunctions.FSharp</RepositoryUrl>
25+
<RepositoryType>git</RepositoryType>
26+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
27+
<Version>0.1.0</Version>
28+
</PropertyGroup>
1329
</Project>

0 commit comments

Comments
 (0)