sasa1977 / boundary

Manage and restrain cross-module dependencies in Elixir projects
MIT License
818 stars 21 forks source link

Add infinite limit for ex_doc_groups #43

Closed randycoulman closed 2 years ago

randycoulman commented 2 years ago

When running mix boundary.ex_doc_groups, it can generate a boundary.exs file that contains ... entries in the various arrays if there are boundaries with too many modules.

This adds a limit: :infinity option to the inspect call to avoid this problem.

We did not add a failing test for this, as we'd have had to add a lot more modules to @module_setup to expose the problem, and that felt like it might be too much clutter in the test. We can do that if you want, however.