rinvex / cortex-foundation-classic

The core foundation of Rinvex Cortex modular application architecture.
MIT License
7 stars 5 forks source link

check if the group exists before prepend the middleware #366

Closed mohamed-hendawy closed 3 months ago

mohamed-hendawy commented 1 year ago

depends on prependMiddlewareToGroup implementation we should check if the group exists or not, because if it doesn't exist, it will ignore adding the middleware to the group

Omranic commented 3 months ago

If it doesn't exist, then ignoring is the expected behavior in my opinion.

Do you have a different use-case that justify that changed behavior?