Open ludwikbukowski opened 6 years ago
Most likely thats because Ecto
defines his own before_compile
macro and does a lot of magic generally
Hmmm 2 incompatible forms of magic within one module, interesting...
Also appears to not work with Phoenix.View
.
Let's say I'd like to
decorate_all
functions that are injected byEcto.Repo
. I am struggling with this:Firstly, it seems not to work due to warning:
Once I force filter out
__pool__
function from decoration, it compiles but only few functions are decorated. Most of them are not