Skip to content

Add ghostable providers for lazy-loading framework services#282

Merged
techmahedy merged 2 commits intodoppar:3.xfrom
techmahedy:techmahedy-3.x
May 8, 2026
Merged

Add ghostable providers for lazy-loading framework services#282
techmahedy merged 2 commits intodoppar:3.xfrom
techmahedy:techmahedy-3.x

Conversation

@techmahedy
Copy link
Copy Markdown
Member

This PR adds ghostable provider support so selected service providers can be queued during app startup and only loaded when one of their declared services is actually resolved outside the console.

It introduces a new GhostableProvider contract, updates Application and Container to track and load queued ghost providers safely, and keeps console execution on the existing eager-loading path. The cache, language, and rate limiter providers are now marked as ghostable with their trigger services, and application tests were added to cover queued loading, lazy resolution with boot execution, and console-mode eager registration.

@techmahedy techmahedy requested a review from rrr63 May 8, 2026 09:54
@techmahedy techmahedy added the feat new feature label May 8, 2026
@techmahedy techmahedy merged commit b5b0425 into doppar:3.x May 8, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant