We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1666a93 commit 3d78103Copy full SHA for 3d78103
lib/example/worker.ex
@@ -3,6 +3,9 @@ defmodule Example.Worker do
3
4
alias Example.DefaultService
5
6
+ # When using ElixirLS, defining the service at compile time will result in an
7
+ # error because ElixirLS always compiles using MIX_ENV=test which mean @service
8
+ # will always be set to MockService, which does not have `foo/0`
9
# @service Application.get_env(:example, :service, DefaultService)
10
# @service DefaultService
11
0 commit comments