antikythera v0.4.0 Antikythera.Router.Reverse View Source

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

Link to this section Summary

Link to this section Functions

Link to this function

define_path_helper(path_name, path)

View Source

Specs

define_path_helper(atom(), String.t()) :: Macro.t()
Link to this function

make_path(path_pattern, fillers, query_params)

View Source

Specs

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