s/enum doesn't preserve the order of the elements provided.
The order is lost at https://github.com/plumatic/schema/blob/master/src/cljc/schema/core.cljc#L295 when set is called.
This screws up ordering, for example, in swagger.
Replacing set with LinkedHashSet. would preserve order
s/enumdoesn't preserve the order of the elements provided.The order is lost at https://github.com/plumatic/schema/blob/master/src/cljc/schema/core.cljc#L295 when
setis called.This screws up ordering, for example, in swagger.
Replacing
setwithLinkedHashSet.would preserve order