elixir-grpc / grpc-reflection

elixir graph reflection support
Apache License 2.0
9 stars 6 forks source link

we are sensitive to loaded modules, ensure_loaded while building #33

Closed mjheilmann closed 4 months ago

mjheilmann commented 4 months ago

It may not be a major issue, but we cannot run our unit tests in isolation as the util for generating the package name is sensitive to what modules are currently loaded.

Instead of adding ensure_all_loaded to the afflicted test, this adds an ensure_loaded before checking for the function export soif the module exists we load and use it.