We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aad2eb commit abca499Copy full SHA for abca499
packages/services/api/src/modules/schema/providers/contracts-manager.ts
@@ -217,7 +217,7 @@ export class ContractsManager {
217
public async getIsFirstComposableVersionForContractVersion(contractVersion: ContractVersion) {
218
const diffableContractVersion =
219
await this.getDiffableContractVersionForContractVersion(contractVersion);
220
- return !diffableContractVersion;
+ return !diffableContractVersion && contractVersion.schemaCompositionErrors === null;
221
}
222
223
public async getBreakingChangesForContractVersion(contractVersion: ContractVersion) {
0 commit comments