Because we are not using the default mapping from enum to string we have had to handle the conversion across flotilla, isar and sara. However, this would be easier if we just use the default mapping, writing "ThermalReading" instead of "thermal-reading". Then we would not have to handle the mapping explicitly multiple places.
See especially the main culprit in flotilla:
AnalysisType.ThermalReading => "thermal-reading",
Because we are not using the default mapping from enum to string we have had to handle the conversion across flotilla, isar and sara. However, this would be easier if we just use the default mapping, writing "ThermalReading" instead of "thermal-reading". Then we would not have to handle the mapping explicitly multiple places.
See especially the main culprit in flotilla: