boot-clj / boot-clj/boot

load-data-readers! in pods

Open
#535 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
1.7k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

An https://github.com/levand/immuconf user asked in Slack how he can access config variables during compilation. A macro would usually do the trick but in this case the pod compiling the ClojureScript sources and running the macro does not have the reader function for the immuconf specific tags.

If I understand the issue correctly I see the following options

- We set `*data-readers*` in pods after initialization
- We move `boot.core/load-data-readers!` into a namespace that is available in pods and advise users to call it if they need support for dependency-imported reader tags.

**I didn't reproduce this issue so maybe it's absolute bogus.
The initial report it seemed plausible though.**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.