Transacting a refid not corresponding with any datom eids should fail?
まだ誰も着手していません。
評価
調査の方向性
トランザクションの例を、README に記載されている Datomic との相違点および関連する Issue #166 と #187 と併せて確認してください。異なる挙動を再現したうえで、意図した結果が Datomic との互換性なのか、それともより広範な wiki 比較なのかを判断してください。完了条件は、テスト済みの挙動変更、または包括的かつ継続的に保守される相違点一覧のいずれかです。
索引モデルが issue の本文から書いたものです。
説明
The following transaction fails in Datomic, but not DataScript:
[[:db/add (d/tempid :db.part/user -1) :some.ref/attr (d/tempid :db.part/user -2)]]
This means a little bit of extra work automatically syncing Datomic and Datascript, at least if you want to try to catch and handle quirks like this.
There are obviously plenty of other points where DataScript is intentionally different from Datomic, and if this isn't something you want to move towards parity on, I'm fine with that. But perhaps we should have a more comprehensive list of subtle behavior differences like this on the wiki? This could start off with what's at the bottom of the README, but try to encompass a broader range of subtler differences, such as #166, #187, etc. I'm happy to start this if you like.
- 主要言語
- Clojure
- スター
- 5.8k
- フォーク
- 318
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tonsky/datascript のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
tonsky/datascript#498 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
tonsky/datascript#489 ·
-
Stack overflow when transacting :db.type/tupleAttrs with a :db.type/ref attr through :db.fn/call オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tonsky/datascript#483 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tonsky/datascript#470 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tonsky/datascript#441 · コメント 1 件 · リアクション 3 件 ·
tonsky/datascript の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
clojure-emacs/cider#4203 ·
-
.Team/QueryingPlatform Priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
clj-commons/antq#329 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100