Liking cljdoc? Tell your friends :D

com.flyingmachine.liberator-unbound

Functions to more easily define resources at runtime

Functions to more easily define resources at runtime
raw docstring

bundleclj

(bundle groups default-decisions)

Create one function which will combine the work of resource-route, resources, and merge-decisions

Create one function which will combine the work of resource-route,
resources, and merge-decisions
sourceraw docstring

merge-decisionsclj

(merge-decisions defaults decisions)

This allows you to define your resource configurations more compactly by merging them with a map of decision defaults

This allows you to define your resource configurations more compactly
by merging them with a map of decision defaults
sourceraw docstring

resource-groupsclj

source

resource-routeclj

(resource-route path resources & {:keys [entry-key] :or {entry-key ":id"}})

Creates routes, assumes that your resources are grouped into :collection and :entry

Creates routes, assumes that your resources are grouped
into :collection and :entry
sourceraw docstring

resourcesclj

(resources decision-groups decisions)

(resources {:collection [:list :create]} {})

(resources {:collection [:list :create]} {})
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close