Skip to content

Commit abca499

Browse files
authored
fix: schema contract intial schema composition error to not show Firs… (#7140)
1 parent 8aad2eb commit abca499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/services/api/src/modules/schema/providers/contracts-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class ContractsManager {
217217
public async getIsFirstComposableVersionForContractVersion(contractVersion: ContractVersion) {
218218
const diffableContractVersion =
219219
await this.getDiffableContractVersionForContractVersion(contractVersion);
220-
return !diffableContractVersion;
220+
return !diffableContractVersion && contractVersion.schemaCompositionErrors === null;
221221
}
222222

223223
public async getBreakingChangesForContractVersion(contractVersion: ContractVersion) {

0 commit comments

Comments
 (0)