Open kennyjwilli opened 7 years ago
The symbol needs to be fully qualified with its namespace included, and that var that it points to must be able to be resolved from a namespace loaded from the classpath (which, in boot, would include your :source-paths
directories, but not build.boot
). So this is a limitation of boot. (Maybe we need to spell this out in the README?)
I could've sworn I have passed a symbol declared in my build.boot to a task, but maybe I'm crazy. Though, boot-http executes in a pod, which is likely different than the scenario I am recalling.
I think it'd be helpful to have a note in the README.
If my
:not-found
handler function is written in mybuild.boot
file then I will get the below error:Here is my example task I am calling:
Not quite sure what the cause of this error is. It must be something boot specific. If I move my handler into a clj file in my project, then it works correctly - no error thrown. Example: