Currently TagMacro doesn't work for polymorphic function types - because type parameters there are hidden inside a method refinement - which aren't currently being substituted.
[!] Instance is not available in the object graph:
{type.(scala.PolyFunction {def apply(main$package$._$AppF[=0]): main$package$._$InjF[=scala.util.Either[+CustomError,+0]]})}.
Currently TagMacro doesn't work for polymorphic function types - because type parameters there are hidden inside a method refinement - which aren't currently being substituted.
Example https://scastie.scala-lang.org/xBo3y9TES76qP4jcDyOp2Q