Skip to content

Refactor mobile startup dependencies for DI - #712

Merged
StuartFerguson merged 2 commits into
mainfrom
task/#691_startup_refactor_phase1
Sep 1, 2026
Merged

StuartFerguson merged 2 commits into
mainfrom
task/#691_startup_refactor_phase1

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Summary

  • Remove the global MauiProgram.Container service locator.
  • Resolve services through injected IServiceProvider and page dependencies.
  • Update shared page navigation and authentication flows to use constructor injection.

Testing

  • Not run (not requested)

@codacy-production

codacy-production Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 16 complexity · 2 duplication

Metric Results
Complexity 16
Duplication 2

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 255996024e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@StuartFerguson StuartFerguson linked an issue Sep 1, 2026 that may be closed by this pull request
@StuartFerguson
StuartFerguson merged commit 0d9f112 into main Sep 1, 2026
12 checks passed
@github-actions
github-actions Bot deleted the task/#691_startup_refactor_phase1 branch November 1, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase 1: Make MauiProgram startup less global

1 participant