Make QueryFilter type an enum

XMLWordPrintable

    • Type: Task
    • Resolution: Done
    • Priority: L3 - Default
    • 2.3.0
    • Affects Version/s: None
    • Component/s: 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

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: