⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@viceroypenguin
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 9, 2026 21:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an overload to Owned<T>.GetScope() that exposes the resolved scoped service via an out parameter, and updates the cache runner to use that overload while keeping scope lifetime management unchanged.

Changes:

  • Added GetScope(out T service) overload in Owned<T> and refactored existing GetScope() to delegate to it.
  • Updated ApplicationCacheBase to use the new overload and call the handler via the extracted service variable.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Immediate.Cache.Shared/Owned.cs Adds GetScope(out T service) and refactors GetScope() to call it.
src/Immediate.Cache.Shared/ApplicationCacheBase.cs Uses the new GetScope(out ...) overload inside the handler execution path.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 9, 2026 21:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@viceroypenguin viceroypenguin merged commit 5fedd02 into master Feb 9, 2026
7 checks passed
@viceroypenguin viceroypenguin deleted the alternative-api branch February 9, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant