From b11e06d50115671196fbbb6e1d1ab7df1e09670a Mon Sep 17 00:00:00 2001 From: Vitaly Kravtsov Date: Thu, 24 Oct 2024 16:49:52 +0600 Subject: [PATCH] disable polymorphic properties generation in typescript --- src/aidbox_sdk/generator/typescript.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aidbox_sdk/generator/typescript.clj b/src/aidbox_sdk/generator/typescript.clj index 3deea03..d185cd2 100644 --- a/src/aidbox_sdk/generator/typescript.clj +++ b/src/aidbox_sdk/generator/typescript.clj @@ -123,7 +123,7 @@ (:name ir-schema) "")) properties (->> (:elements ir-schema) - (remove #(:choice-option %)) + (remove #(:choices %)) (map #(assoc % :fhir-version (:fhir-version ir-schema))) (map generate-property) (flatten)