yogthos / config

Library for managing environment variables in Clojure using EDN configuration files
161 stars 15 forks source link

reagent template config exception (NumberFormatException) #15

Closed leontalbot closed 5 years ago

leontalbot commented 5 years ago

running lein do clean, run on a fresh reagent-template template (+shadow-cljs), I get:

Syntax error (NumberFormatException) compiling at (config/core.clj:100:1).
For input string: "112473406068224456955"

Possibly related to parseLong limitations with bigInt?

yogthos commented 5 years ago

Hi, yeah the number is too big to parse using Long/parseLong. I pushed out a new version that falls back to using BigInt to attempt and parse the number when Long/parseLong fails. Let me know if 1.1.3 works for you.

leontalbot commented 5 years ago

Yes, reagent template now works for me with 1.1.3. Thank you!

yogthos commented 5 years ago

👍