Skip to content

Commit

Permalink
Update Config Seeding to Include Original Module Settings (#601)
Browse files Browse the repository at this point in the history
Pass in the original config settings when appending any custom configs.  This will give developers more flexibility with how they want to override configs and make things easier if the module has a complex config structure.
  • Loading branch information
homestar9 authored Jan 15, 2025
1 parent 11fd465 commit 14af3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/web/services/ModuleService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ component extends="coldbox.system.web.services.BaseService" accessors="true" {
| Module Settings Config Seeding
|--------------------------------------------------------------------------
*/
mConfig.settings.append( oConfig.configure(), true );
mConfig.settings.append( oConfig.configure( mConfig.settings ), true );

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 14af3d4

Please sign in to comment.