After we run the mapdirectory() for a module's models, we need to call wirebox.getBinder().processMappings() to pick up things like alises. Once a mapping is discovered, it don't get processed again, so there's no harm in running this method many times. Only the new mappings will be processed.
Gliffy Diagrams
Activity
Show:
Brad Wood September 15, 2016 at 6:20 PM
FWIW, I've made the same change in CommandBox's ModuleService as well.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
After we run the mapdirectory() for a module's models, we need to call wirebox.getBinder().processMappings() to pick up things like alises. Once a mapping is discovered, it don't get processed again, so there's no harm in running this method many times. Only the new mappings will be processed.