Naming the Module same as module name inside app leads to Dependency cycle error

so Say I have an app A and a module named B, If i import the Module B in A and inside A i give it the name B it leads to an error of the form:

Dependency Cycle Found: B.output -> B -> B.output

So a quick fix is to just call it different like b. in the app A.

Hi @lys123! I'm glad you were able to find a quick fix for this 😊 In general, modules inside modules (as well as inside a List View component) aren't supported.

Hello all, coming back with the latest update! Modules inside the List View component are still not allowed. However, you can now place one Module inside another Module, also known as nested modules.

A quick word of caution with nested modules. While nesting one module inside another does not have performance impacts, but it can make the module difficult to debug.

You can read more about Modules and best practices in the docs here. Build modules to reuse queries and components | Retool Docs