dotnet-sdk/examples/Jobs/JobsSample
Whit Waldo 89d9d56bd5
Fixed Jobs SDK bugs (#1456)
fix: Point-in-time not getting scheduled, job payload not being property set on job invocation

When setting a single point-in-time job, the SDK was incorrectly assigning it as a schedule which would promptly fail cron validation. Rather, this now properly sets it to `dueTime` instead. Further, when a Job is invoked, only the payload it was registered with is provided in the callback, not all the elements of a Get Job response, so this was modified to return the `ReadOnlyMemory<byte>` originally provided in the payload back to the caller.

Reviewed by: @philliphoff
Refs: #1455 #1457
2025-02-11 01:16:35 -06:00
..
Properties Add .NET client for Dapr Jobs API (#1384) 2024-11-01 12:08:59 -05:00
JobsSample.csproj Add .NET client for Dapr Jobs API (#1384) 2024-11-01 12:08:59 -05:00
Program.cs Fixed Jobs SDK bugs (#1456) 2025-02-11 01:16:35 -06:00