metabase / metabase/metabase

Fix types in `api/collection/tree` and `valid-model-param-values`

Open
#39,344 0 comments 0 reactions 0 assignees View on GitHub
.Backend .Task Type:Tech Debt
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

**Context**

For historical reasons this returns Saved Questions AS 'card' AND Models as 'dataset'; we should fix this at some point in the future.

Contributor guide

Open the contributing guide

Research direction

Start by locating the API implementations for `api/collection/tree` and `valid-model-param-values`. Review how Saved Questions and Models are currently typed, then determine the intended replacement for the historical `card` and `dataset` labels; done means both endpoints return the corrected types.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.