You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In current implementation, toTypedValue operation is returning an Either data type, that is basically an implementation of fail-fast approach on error handling.
Instead, it could return an instance of Validation data type from zio-prelude, to accumulate all the errors in the process of transforming a DynamicValue instance into a typed value.
The text was updated successfully, but these errors were encountered:
In current implementation,
toTypedValue
operation is returning an Either data type, that is basically an implementation offail-fast
approach on error handling.Instead, it could return an instance of
Validation
data type fromzio-prelude
, to accumulate all the errors in the process of transforming aDynamicValue
instance into a typed value.The text was updated successfully, but these errors were encountered: