cognitect-labs / vase

Data driven microservices
Eclipse Public License 1.0
373 stars 42 forks source link

enhance Transact literal to support facts on transactions #92

Open eoliphan opened 6 years ago

eoliphan commented 6 years ago

Description

A key Datomic capability is the ability to reify transactions with arbitrary facts/metadata. E.g. the :user/id associated with the (transact). Continuing this example, perhaps a vase interceptor could extract the user identifier from a JWT, making it available for the subsequent transact.

Expected Behavior

Transact literal would allow user to specific attributes/values that should be associated with the transaction.