Open jimsynz opened 1 month ago
Describe the bug Specifying an alias as the module for a pub sub fails with:
** (UndefinedFunctionError) function PubSub.broadcast/3 is undefined (module PubSub is not available). Did you mean: * MyApp.PubSub.broadcast/3
To Reproduce
alias MyApp.PubSub pub_sub do module PubSub end
Expected behavior It publishes pubsub messages.
Runtime
1.16.3
27.0
Darwin Eeloo 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 arm64
3.0.2
Additional context Add any other context about the problem here.
Strange! I can't reproduce this in spark even.
Where in the module are you aliasing? It shouldn't matter, but I can't reproduce and maybe somehow that matters
Describe the bug Specifying an alias as the module for a pub sub fails with:
To Reproduce
Expected behavior It publishes pubsub messages.
Runtime
1.16.3
27.0
Darwin Eeloo 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 arm64
3.0.2
Additional context Add any other context about the problem here.