Add constant for "type" field in DTOs to reference in index and JsonTypeInfo

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: backend
    • Not defined

      Context:

      Follow up from this PR conversation: https://github.com/camunda/camunda-optimize/pull/3144#discussion_r565201197 

      We should add a constant for the "type" field in the DashboardFilterDtos to reference for the JsonTypeInfo  as well as the index mapping. This may also be required for other DTOs.

       

      AT:

      • DTOs with hidden type field have a "type" constant which is used in typeInfo and index mappings

            Assignee:
            Unassigned
            Reporter:
            Helene Waechtler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: