flows icon indicating copy to clipboard operation
flows copied to clipboard

Ruby framework for your Business Logic Layer

Results 9 flows issues
Sort by recently updated
recently updated
newest added

Currently the approach for defining the dependency is not very comfortable when defining a not required dependency. ```ruby dependency :my_dependency, default: DefaultDependency, type: MyType, required: false | true ``` When...

Works like OutputContract plugin but also checks argument structure. Transformations are applied. Draft DSL: ```ruby class BusinessOperation include Flows::Result::Helpers include Flows::Plugin::InputContract input do arg :username, Contract arg :realname { either(String,...

Expand `match_ok` and `match_err` to optionally receive a contract as the second argument: ```ruby result = some_method case result when match_ok(:ok, Contract) then 'has status :ok and underlying data matches...

Sometimes we need to suppress contracts on the runtime level. Unfortunately, contracts are not free in a performance sense. Draft API: ```ruby # Global suppression Flows::Contracts.supress do # any contract...

Right now `wrap` DSL is not affected by callbacks. By the way, all the steps and tracks inside wrap are affected. ## Goal Design behavior for callbacks and wraps. Even...

enhancement

https://github.com/p0deje/yard-doctest This library can run examples in the documentation as tests. Same stuff we have in Elixir standard library and it's awesome. Main advantage: we can guarantee examples correctness in...

enhancement

We can enforce the Conventional Commits standard by using a git hook. Lefthook already can do this, here is an example: https://github.com/Arkweid/lefthook/blob/master/docs/full_guide.md#bash-script-example So, we have to find a tool for...

enhancement

## Context Right now CodeCov is used for the test coverage tracking. On the other side, CodeClimate provides both maintainability and coverage tracking. Inch-ci provides documentation coverage badge. ## Task...

enhancement

## Problem When you're debugging a business logic based on `SharedContextPipeline` it's nice to have an optional ability to temporarily turn on logging of a steps' execution. But writing it...

enhancement