Skip to content

DOCUMENTATION: Update README to reference Housing service instead of … - #70154

Open
jlehenbauer wants to merge 1 commit into
angular:mainfrom
jlehenbauer:patch-4
Open

DOCUMENTATION: Update README to reference Housing service instead of …#70154
jlehenbauer wants to merge 1 commit into
angular:mainfrom
jlehenbauer:patch-4

Conversation

@jlehenbauer

Copy link
Copy Markdown

Reflect correct naming when running the tutorial in Angular 22.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

The tutorial uses the name "HousingService" for the generated class and "housing.service.ts" as the filename.

Issue Number: N/A

What is the new behavior?

The tutorial uses the name "Housing" for the generated class and "housing.ts" as the filename, which matches the behavior when running ng generate service housing --skip-tests.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

In Angular 22, Services have been updated to no longer have (or require) .service to be included in the filename. Additionally, when generating services via ng, services are named without "Service" appended to the class name.

…HousingService

In Angular 22, Services have been updated to no longer have (or require) ".service" to be included in the filename. Additionally, when generating services via ng, services are named without "Service" appended to the class name.
@pullapprove
pullapprove Bot requested a review from crisbeto August 11, 2026 20:44
1. In `src/app/housing.service.ts`:
1. Inside the `HousingService` class, paste the variable that you copied from `Home` in the previous step.
1. Inside the `HousingService` class, paste these functions after the data you just copied.
1. In `src/app/housing.ts`:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We would also need to update the match project files in adev/src/content/tutorials/first-app/steps and probably the other readme files.

@JeanMeche
JeanMeche removed the request for review from crisbeto August 11, 2026 20:53
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.

2 participants