randyzwitch / ECharts.jl

Julia package for the Apache ECharts v4 visualization library
https://randyzwitch.com/ECharts.jl/
Other
84 stars 9 forks source link

Add assertions/checks #15

Closed randyzwitch closed 6 years ago

randyzwitch commented 6 years ago

Add assertions for arrays having same dimensions, other necessities not covered through method signatures

randyzwitch commented 6 years ago

error() is correct method to throw, per Slack chat, if charts not going to allow user to continue past input checks

randyzwitch commented 6 years ago

Assertions on type values can be done using Parameters.jl, but will be ignored if struct is mutable and changed after creation

randyzwitch commented 6 years ago

Add them as weird edge cases arise