jmcdo29 / nestjs-spelunker

A NestJS Module for generating a NestJS Applications Module Dependency Graph.
MIT License
318 stars 17 forks source link

Feature request: Graph of module internals #45

Open bartolomej opened 1 year ago

bartolomej commented 1 year ago

I love the API for graphing the relations between modules, but I'd be also interested in an API for graphing the internals of modules - the dependencies between services and controllers.

I think a potential use case for this is for refactoring. For example, I've just started refactoring a decently large codebase where there is no clear separation of services/controllers into modules, so I'm trying to better understand the relations between individual services, which should help me create a more optimal module structure - this is where this library could also come into play.

jmcdo29 commented 1 year ago

I can look into this. Determining the dependencies and graphing them out may be a bit complex, but I'll see what can be done

manooi commented 1 week ago

Hi, I've been refactoring my services that are in the same module! This would be a very nice thing to have 🥹.