Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-6068

Public API: Investigate limitations on DataContext usage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core Engine
    • False
    • False

      the following won't work:

          @Funq
          public DataContext helloFn(Map<String, Object> payload) {
      

      but this will

          @Funq
          public MapDataContext helloFn(Map<String, Object> payload) {
      

      investigate where and why DataContext is enough, and take appropriate action to fix it otherwise.

      For instance it may be enough to ensure the contextual ObjectMapper knows to marshall into a default impl (e.g. do DataContext.as(MapDataContext.class) implicitly)

            Unassigned Unassigned
            evacchi Edoardo Vacchi (Inactive)
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: