This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-18
Channels
- # announcements (43)
- # aws (28)
- # babashka (32)
- # beginners (80)
- # calva (13)
- # chlorine-clover (2)
- # cider (11)
- # clj-kondo (15)
- # cljs-dev (1)
- # clojure (151)
- # clojure-dev (11)
- # clojure-europe (11)
- # clojure-italy (3)
- # clojure-losangeles (3)
- # clojure-nl (4)
- # clojure-spec (20)
- # clojure-uk (58)
- # clojured (3)
- # clojuredesign-podcast (2)
- # clojurescript (37)
- # core-async (4)
- # core-typed (1)
- # cursive (53)
- # datascript (5)
- # datomic (26)
- # duct (23)
- # emacs (3)
- # fulcro (22)
- # graalvm (1)
- # jobs (2)
- # joker (11)
- # juxt (24)
- # lumo (1)
- # mid-cities-meetup (2)
- # nyc (1)
- # off-topic (54)
- # parinfer (1)
- # reagent (13)
- # shadow-cljs (16)
- # sql (9)
- # tree-sitter (9)
- # vim (9)
@tony.kay Do you know the status of the sql fulcro-rad adapter? Looking at the github repo, I don't see any commits since late december. I would be interested in helping to push that effort forward if the previous maintainer doesn't have time for it anymore.
funny you should ask 🙂 Today I got an intro to the work in progress from the previous contributor. So progress has resumed but it might be a week or two before anything visible/useful pops out. If you have a special place in your heart for this work, I could direct my efforts elsewhere. @tony.kay for visibility.
Excellent, glad to hear that. 🙂 I don't need to be the one pushing this along; I'm more interested in seeing the "end product" made a reality. Please let me know if there's anything I can help out with.
how do you turn guardrails off with shadow-cljs? when releasing my shadow-cljs app I'm seeing this error: ExceptionInfo: REFUSING TO COMPILE PRODUCTION BUILD WITH GUARDRAILS ENABLED!.
i have the same configuration shown in fulcro templates, basically only my :dev
build has :compiler-options {:external-config {:guardrails {}}}
, and my :release
build is empty.
@alidcastano did you figure it out?
yep, you pointed me to right direction.
I had it enabled in my deps.edn :dev
alias, and shadow-cljs was always picking up the alias
The reason I use a JVM property is that you can set them via command-line -D, which means I can easily put that in my CLJ REPL startup instead of a config file. So in IntelliJ I have that just in JVM args for a particular run config.
Glad I added that exception on release builds, though…you don’t want G.R. in those…we kept getting bit by accidentally having it enabled (had a pre-running shadow with the option set, do a release build, it connects to running server and screws up).
so this is the line I commented out to get my web release working: https://github.com/fulcrologic/fulcro-native-template/blob/943ddc822bcaf29fb38c98e0873c1e22e98dcedf/deps.edn#L35 i think it's what you're referring to as the JVM property, but it's what's causing the error so it does seem to be causing G.R. to be included and yea, glad to see that exception there too 🙂
sure, here ya go https://github.com/fulcrologic/fulcro-native-template/pull/7 ty for helping to figure out issue
ugh, that was my PR which added GR to jvm-opts, but AFAIR GR didn’t work in native if passed through shadow config... anyway, it certainly doesn’t belong to jvm-opts, better still to pass directly to shadow cli hopefully i just screwed up and it would work fine any way though
oh well tbh I haven't gotten to using native yet, I was just setting up my fulcro project based on that template. so not sure what the workaround would be to getting GR to work in native
hm @alidcastano, you sure you don’t have it enabled in jvm-opts?