Skip to content

[stable32] fix(dev): Correct errors in DI chapter code examples - #14708

Merged
skjnldsv merged 3 commits into
stable32from
backport/13840/stable32
May 1, 2026
Merged

[stable32] fix(dev): Correct errors in DI chapter code examples#14708
skjnldsv merged 3 commits into
stable32from
backport/13840/stable32

Conversation

@backportbot

@backportbot backportbot Bot commented May 1, 2026

Copy link
Copy Markdown

Backport of #13840

Warning, This backport's changes differ from the original and might be incomplete 鈿狅笍

Todo

  • Review and verify the backported changes

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

joshtrichards and others added 3 commits May 1, 2026 14:34
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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Christian Wolf <github@christianwolf.email>
Signed-off-by: John Molakvo忙 <skjnldsv@users.noreply.github.com>
@skjnldsv
skjnldsv enabled auto-merge May 1, 2026 14:36
@skjnldsv
skjnldsv merged commit 57887f6 into stable32 May 1, 2026
15 checks passed
@skjnldsv
skjnldsv deleted the backport/13840/stable32 branch May 1, 2026 14:40
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