One WarpDrive Transformation for each enum in the map, for the store's transformations:
enumTransformations({ 'order-state': OrderState }), then type: 'order-state' on a field.
Schema options must stay JSON, so a field cannot carry the class itself; the map names it.
One WarpDrive Transformation for each enum in the map, for the store's
transformations:enumTransformations({ 'order-state': OrderState }), thentype: 'order-state'on a field.Schema options must stay JSON, so a field cannot carry the class itself; the map names it.