Fork me on GitHub

In a Vase app, can I query Datomic from an interceptor? If so, where do I find the Datomic object? It does not seem to be in the context passed to the interceptor.


Thanks. I see it now, staring me in the face. 'scuse me one second while I tease myself for not seeing it earlier.


Is vase suitable publishing directly to the internet with appropriate auth, or is it intended to sit behind the firewall as a microservice that is consumed by other systems?


If I want to apply authz to several resources without duplicating that code (and possibly forgetting it), should I split those resources into their own .edn file and apply a :vase.api/interceptors to that file?