View Source Antikythera.Router.Reverse (antikythera v0.5.1)

Internal helper functions for macros in Antikythera.Router, to generate/implement reverse routing functions.

Summary

Functions

Link to this function

define_path_helper(path_name, path)

View Source
@spec define_path_helper(atom(), String.t()) :: Macro.t()
Link to this function

make_path(path_pattern, fillers, query_params)

View Source
@spec make_path(
  String.t(),
  [placeholder_filler()],
  %{required(String.t()) => String.t()}
) :: String.t()