Uploaded image for project: 'WireBox DI & AOP'
  1. WIREBOX-51

Add method to binder to override alias of current mapping, by passing the current mapping to the influencer closure

    Details

      Description

      If using a mapDirectory influence closure, you must do the following to override the current mapping's alias:

      binder.getCurrentMapping().setAlias( 'foo' );

      Give the binder a direct passthrough method to do this for consistency and brevity.

      binder.setAlias( 'foo' );

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lmajano Luis Majano
                Reporter:
                bradwood Brad Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: