microsoft / microsoft/durabletask-mssql

Explicit taskHub parameter for stored procedures

Open
#162 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

db-schema enhancement help wanted
Dominant language
C#
Stars
105
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Please consider changing approach from using implicit dt.CurrentTaskHub() to explicit parameter in all procedures.

Rational. Flexibility in support database sharing/isolation approaches and simplicity.

For example, from documentation: "This is often valuable when your organization has many small apps but prefers to manage only a single backend database. When multitenancy is enabled, different apps connect to a shared database using different database login credentials and each app will only have access to its own data." Explicit assumption of different login is not flexible, and might be not reflecting reality for majority of financial organizations that actually want to share the database schema.

Contributor guide

No contributing guide indexed for this repository

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 by reviewing the stored procedures and the uses of implicit dt.CurrentTaskHub() referenced in the issue, then compare them with the multitenancy documentation example. The issue does not name files or tests; completion would require an agreed explicit-parameter design, updates across the affected procedures, and corresponding documentation changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.