metosin/reitit

[Feature] Add handlers registry

Open

#695 ouverte le 26 août 2024

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)Clojure (261 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 569 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Just like middleware registry, but with a few open questions:

  • Should it be an opt of ring.core/router?
  • How should resolution be performed? Just postwalk and look for :handler?
    • Does that risk mangling input data?
    • Same for metadata (meta merge)
    • Can be done after merge but before compilation
  • Belong in core or ring?

Guide contributeur