square / Cleanse

Lightweight Swift Dependency Injection Framework
Other
1.78k stars 90 forks source link

Add suggested modules to "Missing Provider" errors. #165

Closed sebastianv1 closed 3 years ago

sebastianv1 commented 3 years ago

Depending on the user's search path for parsed modules, it's possible that the suggested module could be stale and not have been actually compiled/updated. This will likely occur if the output path for all cleansec modules is the same. Considering this is merely a suggestion to help guide the user towards finding their module, this edge case doesn't pose too much of an issue.