Alistair Roche

Results 30 comments of Alistair Roche

``` clojure (defrecord Resource [resource-name] StandardOperations (get-all [_] ;; a GET on the root of a resource (e.g. /api/v2/users.json) ((plural resource-name) (api-call :get (base-url resource-name)))) (get-one [_ id] ;; a...

Ah, thanks! I think what got me was the the docstring in defprotocol come _after_ the arguments vector, unlike everything else. On 16 January 2015 at 12:51, Ben Bader [email protected]...

Hmm, seems like Marginalia still doesn't like it. ``` clojure (defprotocol StandardOperations "Many resources have a standard range of things you can do with them (CRUD, basically)." (get-all [_] "a...

Thanks @tonsky. It's definitely not the end of the world =) On 11 December 2015 at 21:18, Nikita Prokopov [email protected] wrote: > Well, it is in a sense that I...

I came across this issue when trying to find a way to use [catflap](https://github.com/passcod/catflap) with Rocket in order to get `cargo watch` working so I can have an auto-reloading dev...

Oh, actually, got it working like this: ``` watchexec --exts rs,toml --restart "cargo run -- --nocapture" ``` as suggested here: https://github.com/SergioBenitez/Rocket/issues/163#issuecomment-276480415

And `complete.core` is https://clojars.org/clojure-complete, just by the by.

Any update on this?

I'm hesitant to add to the list of todos because I really want this feature, but it might be worth adding [fern](https://crates.io/crates/fern) as another crate to integrate with. I don't...