chiasm-project / chiasm

A browser based environment for interactive data visualizations.
MIT License
184 stars 27 forks source link

Enforce public property contract #26

Closed curran closed 9 years ago

curran commented 9 years ago

The Chiasm runtime should strictly enforce that every property set via the configuration is a public property (declared in model.publicPropertiues) that has a default value. In other words, if a property is set via the configuration that is not in the publicProperties list, an error should be thrown. Without this strict enforcement, the overall behavior of Chiasm is unstable and not predictable.

curran commented 9 years ago

Done in d1d77eaead465240bc443441d9650bf4189d30b0