Application inference in Elixir 1.4

Here’s a neat little tip for Elixir 1.4 adopters. :slight_smile:

https://sergiotapia.me/application-inference-in-elixir-1-4-ae9e43e90301#.hfpw4xpek

5 Likes

Thanks, this is great, didn’t even notice! :slight_smile:

1 Like

That’s pretty great, I also missed it from the 1.4.0 Changelog. This should also enforce conventions related to deps, right?

Glad this helped! It’s my understanding that it isn’t “smart” about what to load into the applications list, it just loads everything now.

This is a super helpful feature, but it can have side effects based on your existing deps configuration.

I ran into one of them. Solved though!

2 Likes

Ironically, you had to specify runtime: false because of a bug in exvcr. If we had application inference since the beginning, the exvcr folks likely wouldn’t have made a mistake to start with. :slight_smile:

4 Likes