HangfireIO / HangfireIO/Hangfire

Make SqlServerMonitoringApi public (rather than internal)

Open
#1,801 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

I'm creating a custom dashboard (with a custom SQL query at `SqlServerMonitoringApi.GetJobs`) and the first issue I had to deal with is that SqlServerMonitoringApi is an internal class, so I had to copy paste a lot of the code to make things work, so to avoid such bad practice and in the name of extensibility and customization I humbly ask for that class to become public and its _private_ methods to become _protected_ instead. Thanks.

Contributor guide

Open the contributing guide

Research direction

Start at SqlServerMonitoringApi.GetJobs, the entry point named in the issue, and inspect the class's private methods and current visibility. Done means the class is publicly usable for custom dashboards and the requested private methods are protected, with the existing SQL Server monitoring behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.