mountetna / magma

Data server with friendly data loaders
GNU General Public License v2.0
5 stars 2 forks source link

Add Dictionary support #62

Closed graft closed 5 years ago

graft commented 6 years ago

This allows a Magma table model (e.g. 'treatment') to be validated using a dictionary. The dictionary is a second model which is formatted to contain data used to validate the first model. This allows a single value column in the table model to hold many kinds of data which are validated separately.

graft commented 6 years ago

Implemented by Jason in https://github.com/mountetna/magma/compare/master...jc-dict-validation - the code has diverged a bit, needs rebasing and review.