metabase / metabase/metabase

Clarify card/question/model hierarchy

Open
#39,428 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

.Backend Type:Tech Debt
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

* Card is the superclass
* Question and Model are sibling subclasses
* We should reflect this with Toucan models
* We should update variable names as appropriate
* Keeping `/api/card` as it is still makes sense

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Toucan models and the implementation behind /api/card, then inspect how Card, Question, and Model are currently represented. Done means Card is the superclass, Question and Model are sibling subclasses, variable names reflect that hierarchy, and /api/card remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
api, backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.