Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Nov 6, 2025

Couple code example errors fixed in DI chapter:

  • Fixed service registration example (AuthorMappers referenced when AuthorMapper was intended)
  • Fixed Request / IRequest example (wasn't runnable and didn't use interface)
  • Fixed class APIController example (shown calling a parent class constructor, but wasn't extending any class)

Also:

  • Added a DI introduction sections (Intro & Basics)
  • Added some new inline code comments
  • Added a constructor property promotion example
  • Added additional code line highlights to examples
  • Clarified Controller injection section is about injecting at the method-level (versus constructor level)
  • Renamed chapter from "DI" to "Containers / DI"

☑️ Resolves

🖼️ Screenshots

image

Couple code example errors fixed in DI chapter:

- `AuthorMappers` referenced when `AuthorMapper` was intended
- Class `APIController`, which is shown calling a parent class constructor, wasn't extending a class 

Also:

- Added a DI introduction section
- Added some new inline code comments

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.