Heres the rest...

<https://clojurians.slack.com/team/levitanong>
levitanong <https://clojurians.slack.com/team/levitanong> *[*11:12 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454256735000435> @flyboarder 
<https://clojurians.slack.com/team/flyboarder>: Do you think I should file 
an issue somewhere, like the hoplon castra repo? After all, you seem to 
think the order shouldn’t matter much. Or perhaps I should tag micha or 
alan?
<https://clojurians.slack.com/team/micha>
micha <https://clojurians.slack.com/team/micha> *[*11:27 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454257643000436> hello
*[*11:28*]* <https://clojurians.slack.com/archives/hoplon/p1454257701000437>
 
@levitanong <https://clojurians.slack.com/team/levitanong>: the order in 
which middleware are applied definitely matters
<https://clojurians.slack.com/team/laforge49>
laforge49 <https://clojurians.slack.com/team/laforge49> *[*11:28 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454257708000438> On advice 
from micha,, I have this which works:
 (-> app-routes
     (castra/wrap-castra
       'castra-notify-chat.chat-api
       'castra-notify-chat.user-api
       'notify.notification-api)
     (castra/wrap-castra-session "a 16-byte secret")
     (d/wrap-defaults d/api-defaults)))
So like @flyboarder <https://clojurians.slack.com/team/flyboarder> I have 
defaults on the bottom. And like @levitanong 
<https://clojurians.slack.com/team/levitanong> 's arrangement that works, I 
have wrap castra thingie on top.
The actual problem is that the template is backwards because -> reverses 
the order.
<https://clojurians.slack.com/team/micha>
micha <https://clojurians.slack.com/team/micha> *[*11:28 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454257726000439> because 
it's a pipeline, each layer adding information for the subsequent layers to 
use
*[*11:29*]* <https://clojurians.slack.com/archives/hoplon/p1454257780000440>
 

```(-> foo bar baz) ; is the same as:
(baz (bar foo))
```

(edited)
*[*11:29*]* <https://clojurians.slack.com/archives/hoplon/p1454257789000441>
 
so the order definitely matters
<https://clojurians.slack.com/team/laforge49>
laforge49 <https://clojurians.slack.com/team/laforge49> *[*11:30 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454257807000442> So where 
do I file the issue? :simple_smile:
<https://clojurians.slack.com/team/levitanong>
levitanong <https://clojurians.slack.com/team/levitanong> *[*11:30 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454257821000444> yay I’m 
not crazy!
1 

*[*11:30*]* <https://clojurians.slack.com/archives/hoplon/p1454257826000445>
 
thanks, @micha <https://clojurians.slack.com/team/micha>, @laforge49 
<https://clojurians.slack.com/team/laforge49>  and @flyboarder 
<https://clojurians.slack.com/team/flyboarder>(edited)
<https://clojurians.slack.com/team/micha>
micha <https://clojurians.slack.com/team/micha> *[*11:30 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454257832000446> :+1:
*[*11:30*]* <https://clojurians.slack.com/archives/hoplon/p1454257845000448>
 
i thought i fixed the lein template, no?
<https://clojurians.slack.com/team/laforge49>
laforge49 <https://clojurians.slack.com/team/laforge49> *[*11:31 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454257863000449> doesn't 
look like it.
<https://clojurians.slack.com/team/micha>
micha <https://clojurians.slack.com/team/micha> *[*11:31 AM*]* 
<https://clojurians.slack.com/archives/hoplon/p1454257871000450> i think i 
didn't have permission to push it to clojars
*[*11:31*]* <https://clojurians.slack.com/archives/hoplon/p1454257881000451>
 
but the git repo should be fixed

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to