Vladimir Polushin
Vladimir Polushin
The current implementation stores all info in memory, this might lead to OOM errors and slow start of every analysis process for big projects. The next step is to store...
There are two unexplored directions: - static lists of "bad" symbols - bytecode analysis of `.jar` files The attempt of first idea for the std library is implemented in [`shield-detector`](https://github.com/zio/zio-shield/tree/master/shield-detector/src/main)...
It seems on the first run (I mean before any compilation of the project) metals doesn't generate SemanticDb files before ZIO Shield runs or ZIO Shield doesn't see those files...
Scalafix `SymbolInformation.signature` shows high time consumption during profiling comparing to the rest of Scalafix static analysis. This method is required for `ZioShieldNoImpurity` that searches for `Unit` returning methods. For now...
For some reason metals doesn't update SemanticDb files when the source file is changed (or it does update but doesn't write the updated file on disk and give access to...
For now we only report usage of Future. In some situations (we could start with the simplest cases) we could rewrite `Future` usages to `ZIO`.
https://scalacenter.github.io/scalafix/docs/users/suppression.html We should probably simply rename this annotation for more "zio-shield-ish" and make it specific, because we control the set of rules.
```scala import pbdirect._ sealed trait Foo case class Foo1(li: List[Int]) case class Foo2(ll: List[Long]) import cats.instances.list._ println(Foo1(List.empty).toPB.toSeq) println(Foo2(List.empty).toPB.toSeq) // prints // WrappedArray() // WrappedArray() ``` So in general `(a: A).toPb.pbTo[A]...
For example I want infer `pbdirect` instances for the following sealed trait: ```scala import pbdirect._ sealed trait MyList case class Cons(i: Int, l: MyList) extends MyList case object Nil extends...
If I'm trying to write simple integer types like `Long` or `Int` I get the `com.google.protobuf.InvalidProtocolBufferException` error ```scala import pbdirect._ 1L.toPB ``` results to ``` com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol...