You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, I have a projects action in core module for following/commenting projects, I also have a projects action in admin module for adding/editing projects
However, if I export these actions with same name from two different modules, one of them will be overwritten. Probably the better way is to merge them, not to overwrite one of them.
If this is considered as a bug, I can submit a PR to fix it.
The text was updated successfully, but these errors were encountered:
@lhz516 Modules should be independent of each other so as action methods.
We need to have module namespacing for these methods while exporting them, so that we will eliminate overwriting existing action method from other module.
May be like this:
For example, I have a projects action in core module for following/commenting projects, I also have a projects action in admin module for adding/editing projects
However, if I export these actions with same name from two different modules, one of them will be overwritten. Probably the better way is to merge them, not to overwrite one of them.
If this is considered as a bug, I can submit a PR to fix it.
The text was updated successfully, but these errors were encountered: