Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 10 04:33
    stale[bot] closed #459
  • Aug 10 04:33
    stale[bot] closed #458
  • Aug 10 04:33
    stale[bot] closed #457
  • Jul 31 03:00
    stale[bot] closed #456
  • Jul 31 02:59
    stale[bot] labeled #457
  • Jul 31 02:59
    stale[bot] labeled #458
  • Jul 31 02:59
    stale[bot] labeled #459
  • Jul 31 02:59
    stale[bot] commented #457
  • Jul 31 02:59
    stale[bot] commented #458
  • Jul 31 02:59
    stale[bot] commented #459
  • Jul 13 19:25
    stale[bot] labeled #456
  • Jul 13 19:24
    stale[bot] commented #456
  • Jul 07 05:44
    stale[bot] closed #454
  • Jun 23 01:04
    stale[bot] labeled #454
  • Jun 23 01:04
    stale[bot] commented #454
  • Jun 19 20:00
    stale[bot] closed #452
  • Jun 12 11:06
    stale[bot] labeled #452
  • Jun 12 11:06
    stale[bot] commented #452
  • Jun 10 18:31
    stale[bot] closed #450
  • Jun 10 18:31
    stale[bot] closed #449
Gabriel Volpe
@gvolpe
def find(reference: String): F[Either[Error, Unit]]
So your tracer method signature would be trivial
def find(reference: String): Trace[F, Either[Error, Unit]]
lgirard
@laurentgir
Thanks for the quick answer, even if that's the answer I feared because I use MT all over the place :fearful:
Not using MT in public APIs is a recommended best practice in general ? Or is it just not recommended for using http4s-tracer?
Gabriel Volpe
@gvolpe
It is a best practice in general.
Monad Transformers should only be used on the implementation. Leave the API clean :)
lgirard
@laurentgir
I'll clean it then :wink:
lgirard
@laurentgir
I have made some adapters to work with Tsec, is that something that you'll be interested in ? If so I could create a PR for that.
In essence it allows tracing of Tsec's SecuredRequest.
Gabriel Volpe
@gvolpe
Yeah that'd be really cool @laurentgir , go for it! We'd need to include it as a separate module though, otherwise people not using tsec will have that unwanted dependency.
lgirard
@laurentgir
Allright, I'll try to do that this week then.
Gabriel Volpe
@gvolpe
There are some issues with sbt-ci-release, we need to wait: olafurpg/sbt-ci-release#118
Jakub Kozłowski
@kubukoz
sup, I have a question
all the methods take an A: ClassTag but none of them actually take an A
what's the purpose then?
Gabriel Volpe
@gvolpe
I guess that was to log the package from where you are calling the logging method instead of a generic one
Anyway, I no longer have the need to use this library (at least for now) so if you're user, please chime in and take the lead :)
I made this release because @alexbalonperin asked for it, he is now a maintainer :smiley:
Gabriel Volpe
@gvolpe
v1.5.3 is the version
Will Leyton López
@dabliuw22
Hello, looking at the user guide, I find that they refer to Trace[F, ?] Where F is the effect, but I have had problems with the keyword ?. Any recommendation to use ?, Since it sends me the message "Cannot resolve symbol ?"
Gabriel Volpe
@gvolpe
Hi @dabliuw22 , that's kind-projector syntax. Though, ? has been replaced for * now.
Will Leyton López
@dabliuw22
Thanks @gvolpe.
gvolpe
@gvolpe:matrix.org
[m]
Test
trait SomeCode[F[_]] {
  def foo: F[Unit]
}
Gabriel Volpe
@gvolpe:matrix.org
[m]
test
Gabriel Volpe
@gvolpe:matrix.org
[m]
from desktop ☘️