metosin/reitit

[Feature] Add handlers registry

Open

#695 aperta il 26 ago 2024

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)Clojure (261 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (1569 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor