Skip to content

Commit 3d39fff

Browse files
author
Sergio García Prado
committed
* Minor improvement.
1 parent 618d7ef commit 3d39fff

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

packages/core/minos-microservice-common/HISTORY.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,18 +311,27 @@ History
311311
* Add `SetupMixin` class as a replacement of the `MinosSetup` class.
312312

313313
### Update Guide (from 0.5.x to 0.6.0)
314+
314315
* Add `@Injectable` decorator to classes that injections:
316+
315317
```python
318+
from minos.common import Injectable
319+
320+
316321
@Injectable("THE_INJECTION_NAME")
317322
class MyInjectableClass:
318-
...
323+
...
319324
```
325+
320326
* Add `minos-http-aiohttp` package:
327+
321328
```shell
322329
poetry add minos-http-aiohttp@^0.6
323330
```
331+
324332
* Update `config.yml` file:
325333
* Add ``:
334+
326335
```yaml
327336
...
328337
service:
@@ -332,7 +341,9 @@ service:
332341
...
333342
...
334343
```
335-
* Add `routers` section:
344+
345+
* Add `routers` section:
346+
336347
```yaml
337348
...
338349
routers:
@@ -341,5 +352,6 @@ routers:
341352
- minos.networks.RestHttpRouter
342353
...
343354
```
344-
* Update `Config` usages according to the new provided API:
355+
356+
* Update `minos.common.Config` usages according to the new provided API:
345357
* Most common issues come from calls like `config.query_repository._asdict()`, that must be transformed to `config.get_database_by_name("query")`

0 commit comments

Comments
 (0)