hello everyone
I was wondering if (defmethod get-initial-config) should return vector of vectors? Like
(defmethod get-initial-config :lang/javascript []
[["some.config" "value"]])
;; instead of
(defmethod get-initial-config :lang/javascript []
["some.config" "value"])
Because when I've passed vector of vectors I got error
Uncaught Error: No item 1 in vector of length 1
I've fixed that by changing conj
to concat
here https://github.com/dvcrn/proton/blob/master/src/cljs/proton/lib/proton.cljs#L35@geksilla: vector of vector should be correct. Each vector is supposed to be a config fragment of key / value
not sure why you get that error though, hrrrmm