Mariusz Krzemień

Results 5 comments of Mariusz Krzemień

You can achieve similar functionality on module level. Here is a minimal working example: ```scala package com.example import com.softwaremill.macwire._ object WireTest extends App { class A() class B(val oa: Option[A])...

The original issue appears to be already solved in MacWire 2.3.5 and Scala 2.12.11.

What about a separate method e.g. `wireOpt`? Anyway, thanks for the review :)

One more detail: Currently the new feature allows for nesting: https://github.com/sijarsu/macwire/blob/bug-142/tests/src/test/resources/test-cases/_t142_nested.success). Would you like me to keep it that way? Or maybe limit it to just this case: https://github.com/sijarsu/macwire/blob/bug-142/tests/src/test/resources/test-cases/_t142.success