opendatastudio / bindfit-datapackage

Bindfit datapackage for opendata.studio
0 stars 0 forks source link

Add optional default data values to metaschemas #41

Closed echus closed 1 month ago

echus commented 2 months ago

This means we can avoid implicitly defining default values in instantiated params resources - allows us to reset to default values in reset command.

echus commented 2 months ago

This wasn't very well thought through and won't work unless we define separate metaschemas for each parameter resource, which seems like a lot of unnecessary duplication. But I think we still need a way to reset params to a clean slate state without outputs. How should we go about defining defaults? Should we define them inside the resource itself? Maybe that is the easiest way... @JamesWilmot thoughts?

echus commented 1 month ago

Closed by https://github.com/opendatafit/bindfit-datapackage/commit/1d64d2dfe50b568d33adac9fd4dc16540ab66270