mirror of
https://github.com/taoensso/telemere.git
synced 2025-12-30 14:48:24 +00:00
This is a BREAKING change to get in before v1 final.
Signal keys BEFORE this commit:
`:location` ---- ?{:keys [ns file line column]} signal creator callsite
`:ns` ---------- ?str namespace of signal creator callsite, same as (:ns location)
`:line` -------- ?int line of signal creator callsite, same as (:line location)
`:column` ------ ?int column of signal creator callsite, same as (:column location)
`:file` -------- ?str filename of signal creator callsite, same as (:file location)
Signal keys AFTER this commit:
`:ns` ---------- ?str namespace of signal creator callsite
`:coords` ------ ?[line column] of signal creator callsite
Motivation for the breaking change:
The new callsite schema is simpler to use/override, reduces noise, and can reduce
code expansion size (and so Cljs build size).
- `:file` was rarely useful, but often added large embedded strings.
- `:location` was redundant, and often difficult for Closure's
advanced build to properly de-duplicate.
This schema will be shared by Truss v2 and Tufte v3.
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| 1-Getting-started.md | ||
| 2-Architecture.md | ||
| 3-Config.md | ||
| 4-Handlers.md | ||
| 5-Migrating.md | ||
| 6-FAQ.md | ||
| 7-Tips.md | ||
| 8-Community.md | ||
| 9-Authors.md | ||
| Home.md | ||
| README.md | ||