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

Standardize check for injection enabled in Generator classes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • None
    • Core Engine
    • None

      There are two different ways in which *Generator classes in kogito-codegen check if injection is enabled:

      • some of them implementing boolean useInjection() method,
      • others directly checking this.annotator != null, where annotator is an instance of DependencyInjectionAnnotator.

      We should make this consistent implementing the useInjection method in all those classes, as suggested here.

            evacchi Edoardo Vacchi (Inactive)
            alcosta.redhat Alessandro Costa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: