You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Expected Behavior
While a
DaprJobDetails
is marked as nullable, it should always be populated with the job details when a job is invoked.Actual Behavior
In my testing and as reported by someone in Discord,
DaprJobDetails
is always null.Steps to Reproduce the Problem
Run Jobs example in Dapr .NET SDK (with fix from PR #1456) and wait for the job to be invoked. Observe the
jobDetails
parameter not getting populated.Release Note
RELEASE NOTE: FIX
DaprJobDetails
properly populating when mapped job is invokedThe text was updated successfully, but these errors were encountered: