Skip to content

Commit fe02b1e

Browse files
authored
Update README.md
1 parent 5c61ec5 commit fe02b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ This project is licensed under the MIT License - see the LICENSE file for detail
198198

199199
## DEPRECATION NOTICE
200200
### 0.22.2
201-
The `service` attribute in `ModelController` has been changed from a class object to an **instance** object. When creating a custom `ModelService` for a `ModelController`, you must specify it using `service_type`.
201+
The `service` attribute in `ModelController` has been changed from a class object to an **instance** object. When creating a custom `ModelService` for a `ModelController`, you have to specify it as `service_type`.
202202

203203
This is because services are now injected as dependencies during controller instantiation. Service instantiation is delegated to the injector package, so ensure that any additional dependencies required by your `ModelService` are properly registered in the dependency injection container.
204204

0 commit comments

Comments
 (0)