Add type column to collections + hydrate dashboards and cards with it (#30994)
* add migration for typed collections * add hydration of collections to card+dashboard api - adds it for: - GET /api/question/:id - GET /api/dashboard/:id * fix test that checks for collection shape * get tests working with hydrated collection * typo fixes * fix more tests - PUT requests don't hydrate :collection * update tests to fix param_values {} vs nil inconsistencies
Showing
- enterprise/backend/src/metabase_enterprise/audit_db.clj 1 addition, 1 deletionenterprise/backend/src/metabase_enterprise/audit_db.clj
- resources/migrations/000_migrations.yaml 14 additions, 0 deletionsresources/migrations/000_migrations.yaml
- src/metabase/api/card.clj 2 additions, 1 deletionsrc/metabase/api/card.clj
- src/metabase/api/dashboard.clj 11 additions, 2 deletionssrc/metabase/api/dashboard.clj
- src/metabase/models/collection.clj 1 addition, 1 deletionsrc/metabase/models/collection.clj
- test/metabase/api/collection_test.clj 2 additions, 1 deletiontest/metabase/api/collection_test.clj
- test/metabase/api/dashboard_test.clj 19 additions, 4 deletionstest/metabase/api/dashboard_test.clj
- test/metabase/models/collection_test.clj 1 addition, 1 deletiontest/metabase/models/collection_test.clj
Loading
Please register or sign in to comment