Tagless macro contains insecure code
AdrianRaFo opened this issue · comments
Adrian Ramirez Fornell commented
we cannot do Option.get
https://github.com/frees-io/freestyle/blob/master/modules/core/shared/src/main/scala/freestyle/tagless/internal/tagless.scala#L54
We need to proceed on a safe way and return a properly error
Diego Alonso commented
There is now a cats-tagless
, which is actively maintained, already ported out of scalameta
, and has wider functionalities than freestyle @tagless
macros.