Przemysław Górecki
Przemysław Górecki
I'll try to walk you through: `get_bidding_details` is a `GetBiddingDetails` query handler as it is decorated with `@bidding_module.query_handler`. When calling `application.execute_query(GetBiddingDetails(...))`, `get_bidding_details` is being called within a TransactionContext. The role...
This problem arises due to the limitations of https://github.com/pgorecki/lato/blob/4c5f0ece381f331ab5a5d97a40bba2b7bf27cb31/lato/dependency_provider.py#L112 Function arguments are first resolved by type, then by name. After your modification, both `a` and `b` have `int` type, so...
Hi @toinbis, I already made some efforts into introducing type annotations to lato, but it's far from being complete. I like the idea of having strongly typed codebase, unless it...
Sounds like a plan.
Hi @chkoar, You are absolutely right. There should be only one command handler per module, I can fix this in a next release. Thanks for reporting.
@andrei-samofalov thanks for the fix, your solution is now part of https://github.com/pgorecki/python-ddd/blob/31d1db3af69d2c3237513ce5c4722c87e6b01a52/src/seedwork/domain/value_objects.py#L17