Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions powershell/plugins/sdk-create-inline-properties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,11 +589,13 @@ async function createVirtuals(state: State): Promise<PwshModel> {
Individual models can change the $THRESHOLD for generate
*/
const conflicts = new Array<string>();

// Move additionalProperties from parent to properties. We need to complete it for all objects before createVirtualProperties
for (const schema of values(state.model.schemas.objects)) {

moveAdditionalPropertiesFromParentToProperties(schema, state.model.schemas);
// did we already inline this objecct
}

for (const schema of values(state.model.schemas.objects)) {
// did we already inline this object
if (schema.language.default.inlined) {
continue;
}
Expand Down
Loading