best-doctor / Mario

Shaping your business logic in Python
MIT License
17 stars 2 forks source link

Implement decorators to mark pipeline stages #2

Closed mcproger closed 4 years ago

mcproger commented 4 years ago

We should implement 3 types of decorators:

We need it to separate different layers of business use case.

Melevir commented 4 years ago

Is is not obvious, what they should be besides #7 and validation.

Looks like validation should not be runtime, so it should not be implemented inside the decorators.

So I'll close the issue right now.