Skip to content

Warn on module replacement in add_composable_module#126

Open
SoulSharer wants to merge 1 commit intobevyengine:masterfrom
SoulSharer:warn-module-replace
Open

Warn on module replacement in add_composable_module#126
SoulSharer wants to merge 1 commit intobevyengine:masterfrom
SoulSharer:warn-module-replace

Conversation

@SoulSharer
Copy link

I've hit a surprising behavior by accidentally adding same module twice.

I think it will be more fail proof to inform user that module is being replaced, invalidating everything that depends on it.
It should probably be an error to add the same module twice, but since I'm not sure whether current behavior is desirable I left it as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant