Skip to content

Commit

Permalink
fix: constraints generation
Browse files Browse the repository at this point in the history
  • Loading branch information
krvital committed Aug 9, 2024
1 parent 06fc76f commit d1a001b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aidbox_sdk/generator.clj
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,8 @@
(println "Generating constraints classes")
(doseq [{:keys [name schema file-content]}
(->> (apply-constraints
(remove fhir/structure-definition? constraints)
(->> all-schemas
(filter fhir/fhir-schema? constraints)
(->> (filter fhir/fhir-schema? all-schemas)
(prepared-schemas)
(map #(assoc % :backbone-elements (flat-backbones (:backbone-elements %) [])))
(vector-to-map)))
Expand Down

0 comments on commit d1a001b

Please sign in to comment.