Build and activate checked component packages through normal source authoring (WI-12)
This commit is contained in:
@@ -462,12 +462,15 @@ export async function compileQuery(
|
||||
const definitionDigest = createHash("sha256")
|
||||
.update(
|
||||
canonicalJson({
|
||||
semantics: 2,
|
||||
semantics: 3,
|
||||
declaration,
|
||||
normalized,
|
||||
interfaces: [...generated.byName.values()].sort((a, b) =>
|
||||
a.revisionId < b.revisionId ? -1 : a.revisionId > b.revisionId ? 1 : 0,
|
||||
),
|
||||
// Source provenance belongs to the checked installation. Identical public
|
||||
// contracts keep their query identity when retained in another repository.
|
||||
// Closed generic identity remains explicit in revisionId/application.
|
||||
interfaces: [...generated.byName.values()]
|
||||
.map(({ source: _source, ...contract }) => contract)
|
||||
.sort((a, b) => (a.revisionId < b.revisionId ? -1 : a.revisionId > b.revisionId ? 1 : 0)),
|
||||
}),
|
||||
)
|
||||
.digest("hex");
|
||||
|
||||
Reference in New Issue
Block a user