Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1692

Make QueryFilter type an enum

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: L3 - Default L3 - Default
    • 2.3.0
    • None
    • backend
    • None

      In Decision/ProcessVariableQueryFilter and other places around the code base we currenty have a switch blocks that check the variable type which is a bare string.

          switch (dto.getType().toLowerCase()) {
            case "string":
      ...
      

      We should make the type strict using an enum.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: