Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5111

Prevent ViewContextParameterResolver from resolving IoC-annotated c-tor params

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Neutral Neutral
    • 6.1
    • None
    • None
    • None

      If the parameter is annotated with a Guice binding annotation (or javax.inject.Named which is of the same sort - do not attempt to resolve it and let Guice param resolver handle the case.

      Most obvious case is the EventBus which is present in pretty much every view's store and would be resolved by this parameter, but it conflicts with our Named annotation based approach of "scoping" the event buses.

        Acceptance criteria

              apchelintcev Aleksandr Pchelintcev
              apchelintcev Aleksandr Pchelintcev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1.55h
                    1.55h