View Source FlameOn.Component.CaptureSchema (flame_on v0.6.0)
Link to this section Summary
Functions
Since we support both Elixir and Erlang modules, and are taking a string argument, modules have to be
converted to the Erlang notation before being passed to various checks and to :meck. This means an Elixir module like
Phoenix.LiveView would have to be converted to the atom :"Elixir.Phoenix.LiveView", but cowboy_handler remains
:cowboy_handler. If they already prepended Elixir.
then we pass the module as is.
Link to this section Functions
changeset(node, attrs \\ %{arity: 2, function: "execute", module: "cowboy_handler", timeout: 15000})
View SourceSince we support both Elixir and Erlang modules, and are taking a string argument, modules have to be
converted to the Erlang notation before being passed to various checks and to :meck. This means an Elixir module like
Phoenix.LiveView would have to be converted to the atom :"Elixir.Phoenix.LiveView", but cowboy_handler remains
:cowboy_handler. If they already prepended Elixir.
then we pass the module as is.