Rethinking property deduplication
まだ誰も着手していません。
評価
調査の方向性
Start with the RuleSet property-deduplication behavior described in the issue and trace how duplicate ids from a parent ruleset are handled. The work is complete when the chosen collision policy no longer silently drops the rule set's properties and the behavior is validated against the documented uniqueness requirement.
索引モデルが issue の本文から書いたものです。
説明
When a rule set duplicates ids from a parent ruleset, the rule set's properties are silently dropped in favor of the parent's. This happened twice in Cats (https://github.com/typelevel/cats/pull/3493), both times unwittingly and unintentionally.
The scaladoc requires:
The only requirement here is that ''inside one kind'', the identifier of a property is unique, since duplicates are eliminated.
We could offer an idCollisions: Set[String] on the RuleSet, and leave it up to the test integrations to fail when non-empty, but this would be a breaking change. Alternatively, we could deduplicate with an obnoxious suffix instead of silently dropping duplicate properties, which should be safe unless people are relying on this deduplication. I don't think they should be for anything but optimization, and Discipline's most prominent client, Cats, was bitten by the current behavior.
- 主要言語
- Scala
- スター
- 338
- フォーク
- 60
- 平均マージ
- 5時間 22分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
typelevel/discipline のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
typelevel/discipline#347 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
typelevel/discipline#346 · コメント 1 件 · リアクション 2 件 ·
-
Add documentation to discipline再び着手できるかも @Shivampal157 が 331 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
typelevel/discipline#21 · コメント 3 件 · リアクション 5 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
typelevel/discipline#8 · コメント 1 件 ·
typelevel/discipline の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
requires-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
apache/datafusion-comet#7559 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
propensive/soundness#2438 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ergoplatform/ergo#2918 ·
メンテナーはふだん 2 日以内に返信