Wayfinder.Processor.IgnoreFilter (Wayfinder Ex v0.1.2)
View SourceHandles filtering of Phoenix routes based on ignore patterns configured in the application.
Supports regex patterns to ignore routes that match specific path patterns. Patterns are compiled once and cached for performance.
Summary
Functions
Gets compiled ignore patterns from persistent term cache. Initializes patterns if not already cached.
Types
@type compiled_patterns() :: [Regex.t()]
Functions
@spec call() :: {:ok, compiled_patterns()} | {:error, Wayfinder.Error.t()}
Gets compiled ignore patterns from persistent term cache. Initializes patterns if not already cached.
@spec ignore?(Phoenix.Router.Route.t(), compiled_patterns()) :: boolean()