HangfireIO / HangfireIO/Hangfire
How do I handle updates signatures?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
I got a project which adds some jobs with RecurringJob.AddOrUpdate().
Now, I have changed the signature of the methods being called.
When looking at the webpage I can see:
Job: Can not find the target method. Reason: Retry attempt 2 of 10: No parameterless constructor defined for this obj
What should I do to update the signatures?
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the RecurringJob.AddOrUpdate usage and the reported “Can not find the target method” message, then investigate how changed method signatures affect existing recurring jobs. Done means providing a clear, reproducible way to update or migrate those jobs after a signature change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100