Great Tip For Using Dialyzer

I try as much as I can to use Dialyzer with my apps to help cut down on potential errors. One thing that I ran into was a bunch of warnings about not knowing how certain Ecto functions are defined. Of course since the Ecto library is (in a sense) a 3rd party library, I don’t want to see the warnings for that code. So a bit of digging turned up this great message thread about how to get Dialyzer working without having to constantly see warnings about not knowing what Ecto is.

https://groups.google.com/forum/#!topic/phoenix-talk/J5nF7Qg9Rtc

Just felt like it was worth sharing in case others run into the same issue.

5 Likes