grafana/pkg/framework/coremodel
sam boyer a3402641d6
api: Validate dashboards on save via coremodels, behind feature toggle (#48252)
* Add coremodelValidation feature flag

* coremodels: use stubs when feature flag is off

* api: validate dashboards on save

* Need pointer receiver for FeatureManager

* Update dashboard Go model

* Align doc comments

* Include CoremodelRegistry in test

* Wedge coremodel in on all test cases, ugh

* Ugh fix comment again

* Update pkg/framework/coremodel/staticregistry/provide.go

Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>

* Update Thema (and its deps) for better errs

* omg whitespace

Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>
2022-05-22 02:44:12 +02:00
..
staticregistry api: Validate dashboards on save via coremodels, behind feature toggle (#48252) 2022-05-22 02:44:12 +02:00
helpers.go Introduce coremodels framework (extracted from intent-api) (#47653) 2022-04-14 14:54:35 -04:00
interface.go Introduce coremodels framework (extracted from intent-api) (#47653) 2022-04-14 14:54:35 -04:00
registry.go api: Validate dashboards on save via coremodels, behind feature toggle (#48252) 2022-05-22 02:44:12 +02:00