Skip to content

Add required initializers to README and DocC examples#285

Merged
dfed merged 6 commits intomainfrom
dfed--docs-coherent-example-inits
Apr 22, 2026
Merged

Add required initializers to README and DocC examples#285
dfed merged 6 commits intomainfrom
dfed--docs-coherent-example-inits

Conversation

@dfed
Copy link
Copy Markdown
Owner

@dfed dfed commented Apr 22, 2026

Summary

  • add the required public initializers to the README and top-level DocC starter examples
  • keep the overview focused on the root and first child instead of expanding into deeper dependency definitions
  • simplify the initializer bodies so the examples stay focused on dependency shape rather than implementation detail

Why

  • the starter examples should match SafeDI's actual requirements for @Instantiable types
  • newcomers should be able to see which initializers are required without extra downstream detail competing for attention

Validation

  • docs-only change; not run

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (f5be952) to head (3148c51).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              main      #285     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files           41        41             
  Lines         6940      8419   +1479     
===========================================
+ Hits          6940      8419   +1479     

see 40 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dfed dfed marked this pull request as ready for review April 22, 2026 19:03
@dfed dfed merged commit 48248d4 into main Apr 22, 2026
18 checks passed
@dfed dfed deleted the dfed--docs-coherent-example-inits branch April 22, 2026 19:25
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