-
```scala
final case class B()
object B1Def {
opaque type B1 = B
//...
}
object B2Def {
opaque type B2 = B
//...
}
val live: ZLayer[B1 & B2, Nothing, A] = ZLayer {
for
…
-
At the moment the equalTo of smart assertions [uses](https://github.com/zio/zio/blob/ffa64250e82c41df4d15eda9851ada46285d1527/test/shared/src/main/scala/zio/test/internal/SmartAssertions.scala#L280) t…
-
Hi!
I'm trying to write a (actually two) general `ZClientInterceptor` that adds metrics and tracing for any outgoing gRPC call for the zio-grpc client.
However, `ZClientInterceptor` today only a…
frekw updated
10 months ago
-
First off, thank you for providing this resource, it is very helpful. Now that [https://zio.dev/](ZIO) has emerged from ScalaZ, I wonder if this analysis can be updated to include it?
-
Using `Implicit FTP over TLS` sometimes requires various "hackery".
i.e. apache-commons-net doesn't manage ssl session reuse which might be needed.
I had to create
```java
import java.io.IOExc…
-
if we have a `zio[rea]` value, there's no direct api to do `.a` and access an `a:A`
one of the first things to understand about zio.
the effect has to be run so that it can yield an a. either we c…
sidnt updated
4 years ago
-
Hi,
The small program below is running fine from IDEA, but causes a stack overflow exception (see the attached screenshot) when run from VSCode. This is on macOS 12.4, Apple M1 cpu, Temurin JDK 17.…
-
Here's a minimal example that I came up with. There's a semaphore with 0 permits, so it will block when calling `acquire` on it. After a timeout of 3 seconds it should get released though due to the c…
-
Tested this on `2.0.21` and `2.0.15`. I wrote a test which runs and effect, `flatMap`s the result and does an assertion. The result from trying to compile the test is
```
[error] FooSpec.scala:8:79:…
-
We should support signatures with RSA key pairs (256, 384 and 512), as they are commonly used with json web tokens.