issues
search
cognitect-labs
/
vase
Data driven microservices
Eclipse Public License 1.0
375
stars
41
forks
source link
Introducing the #vase/conform action
#39
Closed
mtnygard
closed
7 years ago
mtnygard
commented
7 years ago
Accesses data from the context map.
Use the
:from
setting to define which context map value is interesting.
The
:spec
key identifies which spec the data should conform to
Conformed data will be reattached to the context map under the
:to
key
If conform fails, the explain-data is attached to the context map.
By default, explain-data gets attaches as :com.cognitect.pedestal.vase.actions/explain-data.
You can override that with the
:explain-to
key.
ohpauleez
commented
7 years ago
Thanks!
:from
setting to define which context map value is interesting.:spec
key identifies which spec the data should conform to:to
key:explain-to
key.