metosin/reitit

[Feature] Add handlers registry

开放

#695 创建于 2024年8月26日

 (2 条评论) (1 个反应) (0 位负责人)Clojure (261 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (1,569 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南