Improvements to legality status on cards

オープン
#169 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ruby
領域
api, databases

調査の方向性

Start by tracing how card and printing responses are built and how restriction models are fetched for each card; the issue does not name files or tests. Decide how to represent each format’s legality, including statuses such as "banned", "legal", and "points_1". Done means cards and printings expose legality by format; the optional restriction_type model also needs a decision.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Cards and printings should explicitly state their ban status in each format, to avoid having to fetch several restriction models for each card. The data could look something like this:

data : {
  ...
  attributes : {
    ...
    current_legality: {
      standard: "banned",
      startup: "legal",
      eternal: "points_1",
      system_gateway: "not_legal",
      ...
    }
  }
}

Additionally we could maybe add a restriction_type model, similar to the card_type and card_set_type models to formalise the different types of legality.

主要言語
Ruby
スター
10
フォーク
9
平均マージ
2時間 59分
マージ済み PR(30日)
2

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Null-Signal-Games/netrunnerdb-api-server のほかの issue

Null-Signal-Games/netrunnerdb-api-server の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。