tayloraswift / swift-unidoc

scalable, multi-package documentation engine for the swift language
https://swiftinit.org/docs/swift-unidoc
Mozilla Public License 2.0
61 stars 1 forks source link

PackageDependency should store a full Edition ID, instead of just a Version ID #281

Closed tayloraswift closed 4 months ago

tayloraswift commented 4 months ago

in my infinite stupidity, we chose to represent the version component of the source node as a scalar Unidoc.Version. unfortunately, MongoDB has no concept of a bit shift, which makes it impossible to use this ID to query anything. we need to store the full 64-bit edition identifier and migrate all the package vertices.