microsoft / microsoft/FeatureManagement-Dotnet

FeatureManagerSnapshot should snapshot TargetingContext as well

Open
#431 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.2k
Forks
129
Avg merge
1d 1h
Merged PRs (30d)
5

Description

We likely don't want the TargetingContext to change for the lifetime of the Scoped service. We could cache it.

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 tracing FeatureManagerSnapshot and the Scoped service that creates it, then inspect how TargetingContext is currently obtained and reused. Done means the snapshot preserves the intended TargetingContext for the lifetime of the Scoped service, with tests covering that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.