This denormalizes the 'latest' dist-tag to an isLatest field on PackageVersion and CustomElement. 'latest' will by far be the most common dist-tag to search for and this will be marginally more efficient, but more importantly it will make other queries that rely on array-contains, like full-text search, easier.
This denormalizes the 'latest' dist-tag to an
isLatest
field on PackageVersion and CustomElement.'latest'
will by far be the most common dist-tag to search for and this will be marginally more efficient, but more importantly it will make other queries that rely on array-contains, like full-text search, easier.Part of #1363