Redesign "snapshots" to be "operations"

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
elixir, postgresql
領域
databases

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず migration generator と snapshot implementation を見つけ、次にスナップショットがどのように書き込まれ、利用されるかを追跡してください。生成された操作が1つの JSON 配列に格納され、スナップショットがその履歴から導出されることで、並行するブランチで migration を削除して再生成する必要がなくなれば完了です。

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

説明

enhancement help wanted

Right now, collaborating with multiple developers using the migration generator can be cumbersome. You have to remove any generated migrations locally, pull, and then regenerate migrations. This is because snapshots essentially are a linear process.

If we rearchitect this to use a single json file with an array of operations that have been generated, and then have the snapshots derived as a projection of those operations, then there will no longer be issues w/ multiple developers working together with the migration generator (e.g on different branches).

主要言語
Elixir
スター
191
フォーク
186
平均マージ
16時間 4分
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

ash-project/ash_postgres のほかの issue

ash-project/ash_postgres の issue をすべて見る

似ている issue

Elixir の issue をもっと見る

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

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