Skip to content

ScopeExtensions.Populate should not be public #4352

@jamescrosswell

Description

@jamescrosswell

ScopeExtensions.Populate is currently public.

public static void Populate(this Scope scope, HttpContext context, SentryAspNetCoreOptions options)

We call this from the SentryMiddleware:

scope.Populate(context, _options);

However SDK users shouldn't need to call this so it should be internal.

Breaking changes so let's do it in the next major release.

Metadata

Metadata

Labels

.NETPull requests that update .net codeRepository Maintenancepublic APIAdditions/modifications to, or removals from, the public API surface area.

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions