Skip to content

Commit 5d722d4

Browse files
committed
fix(#148): add required field to AttrSchema literals in TS provider-composition test (TS2741)
1 parent f61e753 commit 5d722d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎server/typescript/packages/metadata/test/provider-composition-conformance.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const attrConflictBaseProvider: MetaDataTypeProvider = {
8686
},
8787
],
8888
attributes: [
89-
{ name: CONFLICT_ATTR, valueType: ATTR_SUBTYPE_STRING, description: "Conflict probe attr." },
89+
{ name: CONFLICT_ATTR, valueType: ATTR_SUBTYPE_STRING, required: false, description: "Conflict probe attr." },
9090
],
9191
});
9292
},
@@ -99,7 +99,7 @@ const attrConflictClashProvider: MetaDataTypeProvider = {
9999
registerTypes(registry: TypeRegistry) {
100100
registry.extend(TYPE_TEMPLATE, CONFLICT_SUBTYPE, {
101101
attributes: [
102-
{ name: CONFLICT_ATTR, valueType: ATTR_SUBTYPE_STRING, description: "Redefined — collides." },
102+
{ name: CONFLICT_ATTR, valueType: ATTR_SUBTYPE_STRING, required: false, description: "Redefined — collides." },
103103
],
104104
});
105105
},

0 commit comments

Comments
 (0)