6 ms·
Prismatic Schema is wonderful. One useful property is that a schema is just a regular data structure (often a map). So you're free to use regular data structure
by loevborg 11y ago
Prismatic Schema is wonderful. One useful property is that a schema is just a regular data structure (often a map). So you're free to use regular data structure processing functions:
(def Customer {:customer-id s/Int, :address-id s/Int}
(def ProcessedCustomer (merge Customer {:external-id s/Int}))