defmodule API.Application do
@moduledoc false
use Application
@impl Application
def start(_type, _args) do
children = [
API.Telemetry,
API.Endpoint
]
opts = [strategy: :one_for_one, name: API.Supervisor]
Supervisor.start_link(children, opts)
end
@impl Application
def config_change(changed, _new, removed) do
API.Endpoint.config_change(changed, removed)
:ok
end
end
Doctor will report the two functions have no specs but by the very definition of the @impl they do.
eg:
Doctor will report the two functions have no specs but by the very definition of the
@impl
they do.