• Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • backend

      Context:

      We sometimes map one enum to another, eg mapping an Optimize specific unit to ChronoUnit. Currently, this is mostly done via mapping functions but we want to replace these by adding the mapping, eg mapping to ChronoUnit, as a field of the optimize enum itself. In some cases where mappings often occur it could also be worth considering adding a mapping util class instead (eg a util for all mappers which map to ChronoUnit)

       

      AT:

      • mapping functions from one enum to another are replaced by adding the target enum to the source enum as a field OR a mapping utiil is added for recurring mappings

        This is the controller panel for Smart Panels app

            [OPT-6462] Refactor enum mappings

            This ticket was migrated to github: https://github.com/camunda/camunda-optimize/issues/10300. Please use this link for any future references and continue any discussion there.

            Omran Abazeed added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-optimize/issues/10300 . Please use this link for any future references and continue any discussion there.

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: