Skip to content

Commit

Permalink
disable polymorphic properties generation in typescript
Browse files Browse the repository at this point in the history
krvital committed Oct 24, 2024
1 parent 005b2d2 commit b11e06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aidbox_sdk/generator/typescript.clj
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b11e06d

Please sign in to comment.