datodev / dato

Experiment in distilling apps to their essence
Eclipse Public License 1.0
168 stars 8 forks source link

Validation for entity create/update/destroy #11

Open sgrove opened 9 years ago

sgrove commented 9 years ago

Somehow I get entities missing :exhibit/title on the server, which causes strange behavior in my client. The server should have a layer to validate a tx and all the entities involved, something like this for each entity involved:

(user-validation-fn entity new-entity? full-tx-report)