HangfireIO / HangfireIO/Hangfire

How do I handle updates signatures?

Open
#1,108 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.