From d1fa9972380d29c01a1f0ce2692632c80bd01ed1 Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Wed, 9 Oct 2024 21:46:07 -0400 Subject: [PATCH] wire in transformDiscriminatedVariant as well --- packages/fdr-sdk/src/converters/db/convertAPIDefinitionToDb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fdr-sdk/src/converters/db/convertAPIDefinitionToDb.ts b/packages/fdr-sdk/src/converters/db/convertAPIDefinitionToDb.ts index e4ab652119..3c4addeea0 100644 --- a/packages/fdr-sdk/src/converters/db/convertAPIDefinitionToDb.ts +++ b/packages/fdr-sdk/src/converters/db/convertAPIDefinitionToDb.ts @@ -645,7 +645,7 @@ function transformDiscriminatedVariant({ properties: writeShape.additionalProperties.properties.map((property) => transformProperty({ writeShape: property }), ), - extraProperties: undefined, + extraProperties: writeShape.additionalProperties.extraProperties, }, }; }