Nikita Prokopov

Results 814 comments of Nikita Prokopov

I pressed the button in Circle CI, hopefully it’ll start building PRs now and it promises to show status even. Wanna try with a test PR?

Even if Datomic doesn’t support this, it seems like a reasonable thing to do? Let’s keep it open

Have you considered using `pull` instead? https://docs.datomic.com/on-prem/query/pull.html

The main problem with transacting entities is exactly dynamic relationships. How far to transfer? If you want to transact entities as refs, just `(:db/id entity)` and you got the same...

Deep assoc-in would be very confusing and error-prone

Sorry, but it feels like a lot of special casing and non-standard behavior of standard clojure methods. I’ve worked with DataScript quite a bit and never felt the urge to...

Sound idea, but I still don’t see why this is needed? Building a proper transactions seems much more obvious and straightforward than transacting an opaque map that only transacts part...

Thank you for the bug report and the PR. This is an interesting problem :) I feel that tempid resolution should not happen in `resolve-upserts`, but somewhere earlier, around https://github.com/tonsky/datascript/blob/1f060c07dfad2a700a8be702802734266dcf0222/src/datascript/db.cljc#L1431-L1439...

Thanks! Strange, I was sure I am already doing this :) Seems like not.

The query is invalid, the problem is validation isn't picking