You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I upgraded to Scala 2.13, I started seeing that the loggerVendor.withLogger{_ => wire[MyService]} causes the following compiler warning:
[warn] ... Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method validateOrThrow,
[warn] or remove the empty argument list from its definition (Java-defined methods are exempt).
[warn] In Scala 3, an unapplied method like this will be eta-expanded into a function.
This was the initial reason for #174, but it appears that there was another bug related to this that was fixed instead.
The text was updated successfully, but these errors were encountered:
In order to inject loggers into my classes with the appropriate class name, I use this handy trick:
However, when I upgraded to Scala 2.13, I started seeing that the
loggerVendor.withLogger{_ => wire[MyService]}
causes the following compiler warning:This was the initial reason for #174, but it appears that there was another bug related to this that was fixed instead.
The text was updated successfully, but these errors were encountered: