edge
edge copied to clipboard
Inform edge.system of defined aero reader locations
Currently there's no easy way to add custom tags and have them loaded. You have to modify edge.system in your local copy.
Options:
- aero/tags.edn (maybe even part of aero's own api?)
- edge/system/preloads.edn for preloading ns requires
- just modify edge.system
- attempt to require a namespace like edge/system/readers.clj (this doesn't work so well with libraries defining readers)
This can be solved in dev easier than in production. Dev can have a require added, but edge.main cannot.
Using edge.main is advantageous due to its current logging integration, and future extra features like nrepl/debug mode etc.
something I hadn't considered is auto-requiring, e.g. #my.cool.project/foo
would auto-require my.cool.project
.
This would require performing a first-pass over the config.edn and not performing a real read, but this should be possible.
This option requires the least user intervention.