Skip to content

Commit ff00dd9

Browse files
committed
docs(countries_client_provider): update outdated commentary
- Replace references to `HtDataRepository` with `DataRepository` - Clarify the role of `modelRegistry` in data endpoint support
1 parent 33fc121 commit ff00dd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/providers/countries_client_provider.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
// to support the generic `/api/v1/data` endpoint.
2121
//
2222
// Instead of individual provider middleware files here:
23-
// 1. Instances of the core data repositories (`HtDataRepository<Headline>`,
24-
// `HtDataRepository<Category>`, etc.) are created and provided directly
23+
// 1. Instances of the core data repositories (`DataRepository<Headline>`,
24+
// `DataRepository<Category>`, etc.) are created and provided directly
2525
// within the top-level `routes/_middleware.dart` file.
2626
// 2. A `modelRegistry` (`lib/src/registry/model_registry.dart`) is used in
2727
// conjunction with middleware at `routes/api/v1/data/_middleware.dart` to

0 commit comments

Comments
 (0)