Elixir and Erlang/OTP versions
Erlang/OTP 28 [erts-16.1] [source] [64-bit] [smp:14:14] [ds:14:14:10] [async-threads:1] [jit]
Elixir 1.19.1 (compiled with Erlang/OTP 28)
Operating system
Mac OS X
Current behavior
mix new name
- Add
{:adbc, ">= 0.0.0", optional: true}
mix deps.get
mix deps.compile
- Add
Application.loaded_applications() |> dbg() in the module body of the project module
mix compile --no-optional-deps
:adbc is listed as loaded
Expected behavior
Given the flag is documented to not compile nor load optional applications I would expect :adbc to not be loaded.