File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
packages/core/minos-microservice-common Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff 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" )
317322class MyInjectableClass :
318- ...
323+ ...
319324```
325+
320326* Add ` minos-http-aiohttp ` package:
327+
321328``` shell
322329poetry add minos-http-aiohttp@^0.6
323330```
331+
324332* Update ` config.yml ` file:
325333 * Add ``:
334+
326335``` yaml
327336...
328337service :
@@ -332,7 +341,9 @@ service:
332341 ...
333342...
334343```
335- * Add ` routers ` section:
344+
345+ * Add ` routers ` section:
346+
336347``` yaml
337348...
338349routers :
@@ -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") `
You can’t perform that action at this time.
0 commit comments